Skip to main content
This flow can be executed using a human or a machine user.For machine users:
  • Send a valid Authorization header with of type Bearer TOKEN_VALUE where TOKEN_VALUE is the a JWT returned in the response from Machine User Token flow
For human users:
  • Send a valid Authorization header with of type Bearer TOKEN_VALUE where TOKEN_VALUE is the token returned in the response from Sign up or Sign in flow
In case your app supports cookie, you can enable request cookies as our API Automatically sets a cookie named session-token which is forwarded with each request to our api.
To update organization details, you need to make a PATCH request to the following endpoint along with the organization ID:
This endpoint is accessible to
  • Machine Users
  • Organization Owner
  • Organization User Manager
curl --request PATCH \
  --url https://dev-iam.razi.ai/v1/authorization/organizations/__ORGID__ \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --header 'X-App-Name: ' \
  --data '{
  "metadata": {
    "key1": "value1",
    "key2": "value2"
  }
}'
Upon successful request, you will receive a paginated response similar to the below:
{
  "message": "Organization Data Updated"
}
The API currently supports updating/adding the organization metadata.