API - Assigning a namespace into a role

Endpoints:

  • POST {api_url}/auth/admin/tenants/{tenantId}/roles
  • PATCH {api_url}/auth/admin/tenants/{tenantId}/roles/{roleId}

Required scopes:

  • auth.roles.list
  • auth.roles.create or auth.roles.update

Request Body Properties (JSON)

The content of the role.

  • namespaceId - id of the namespace that you want to assign.

Expected success response:

Status code 200 with a response body of the information of the specified role.