Skip to main content
PATCH
/
users
/
{id}
/
roles
cURL
curl --request PATCH \
  --url https://api.theauthapi.com/users/{id}/roles \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "accountId": "<string>",
  "role": "<string>",
  "projectId": "<string>"
}
'

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Body

application/json
accountId
string
required
role
string
required
projectId
string

Response

200 - undefined