Assign organization scopes to organization role

POST /api/organization-roles/{id}/scopes

Assign organization scopes to the specified organization role

Path parameters

  • id string Required

    The unique identifier of the organization role.


Body Required

  • organizationScopeIds array[string] Required

    An array of organization scope IDs to be assigned. Existed scope IDs assignments will be ignored.

    Minimum length of each is 1.


  • 201

    Organization scopes were assigned successfully.

  • 400

    Bad Request

  • 401


  • 403


  • 422

    At least one of the IDs provided is invalid. For example, the organization scope ID does not exist;

POST /api/organization-roles/{id}/scopes
curl \
 -X POST https://[tenant_id]{id}/scopes \
 -H "Content-Type: application/json" \
 -d '{"organizationScopeIds":["string"]}'
Request example
  "organizationScopeIds": [