Headers
1
x-iam-orgid
Specify the Organization Id here.
Example: 281185056586736799
1
roles
The roles should be one of the roles defined when organization was created.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authorization header with of type Bearer TOKEN_VALUE where TOKEN_VALUE is the a JWT returned in the response from Machine User Token flowx-iam-orgid
roles
curl --request POST \
--url https://dev-iam.razi.ai/v1/authorization/organizations/users/21892002 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'Content-Type: application/json' \
--header 'X-App-Name: ' \
--header 'X-Iam-Orgid: ' \
--data '{
"roles": [
"admin"
]
}'
{
"message": "User 281435913177801305 added to organization 281185056586736799"
}