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
To add a user to an organization, you need to make a POST request to the following endpoint:

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.
Specify the role/roles of user. Example: [“admin”]
Upon successful request, the user will be deleted from the organization and the response will be similar to the below: