Add role to guild member. Requires manage_roles permission. Grants the specified role to the user in the guild.
curl --request PUT \
--url https://api.fluxer.app/v1/guilds/{guild_id}/members/{user_id}/roles/{role_id} \
--header 'Authorization: <api-key>'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the guild
The ID of the user
The ID of the role
No Content
curl --request PUT \
--url https://api.fluxer.app/v1/guilds/{guild_id}/members/{user_id}/roles/{role_id} \
--header 'Authorization: <api-key>'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}