Skip to main content
PATCH
/
users
/
role
Edit user's role.
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
data
object
required

Response

OK

status
string
Example:

"success"

data
string
Example:

"Successfully updated"

Last modified on May 19, 2026