Users V2

Use this API to add a new role to a specific user.

post/api/access/v2/users/{userId}/access-levels

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/access/v2/users/{userId}/access-levels
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: USER, USER_WRITE

Path parameters

userIdstring uuid required

The unique identifier of the user.

Request body

organizationIdstring uuid required

The unique identifier of the organization.

roleIdstring uuid required

The unique identifier of the role.

Example request

{
  "organizationId": "323e4567-e89b-12d3-a456-426614174000",
  "roleId": "223e4567-e89b-12d3-a456-426614174000"
}

Response

Access level added successfully

Changes

    • info

      the security scope USER_WRITE was added to the endpoint's security scheme Platform-AccessManagement_OAUTH2