Skip to main content
PATCH
/
organization
/
{organizationId}
/
user
/
{userId}
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/organization/{organizationId}/user/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "isAdmin": true
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required
userId
string
required

Body

application/json
isAdmin
boolean

Response

200

User updated

Last modified on December 10, 2025