curl --request PATCH \
--url https://incoming.qomon.app/users/role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"user_id": 111,
"role_id": 8
}
}
'{
"status": "success",
"data": "Successfully updated"
}Update the role of the user with the given ID.
The role_id must be provided in the request body.
curl --request PATCH \
--url https://incoming.qomon.app/users/role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"user_id": 111,
"role_id": 8
}
}
'{
"status": "success",
"data": "Successfully updated"
}Documentation Index
Fetch the complete documentation index at: https://api.qomon.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?