Skip to content

Product documentation

DirectoryGroupRoleMapping

The DirectoryGroupRoleMapping resource.

DirectoryGroupRoleMapping

The DirectoryGroupRoleMapping resource.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/directories/{directoryId}/group-role-mappingsDirectory Group Role Mapping Listtenant:orgs.read
POST/api/v1/directories/{directoryId}/group-role-mappingsDirectory Group Role Mapping Createtenant:orgs.write
DELETE/api/v1/directories/{directoryId}/group-role-mappings/{id}Directory Group Role Mapping Deletetenant:orgs.write

Operation details

GET /api/v1/directories/{directoryId}/group-role-mappings

Directory Group Role Mapping List

  • Operation ID: directoryGroupRoleMappingList
  • Required scopes: tenant:orgs.read

Parameters:

NameInRequiredTypeDescription
directoryIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

POST /api/v1/directories/{directoryId}/group-role-mappings

Directory Group Role Mapping Create

  • Operation ID: directoryGroupRoleMappingCreate
  • Required scopes: tenant:orgs.write

Parameters:

NameInRequiredTypeDescription
directoryIdpathyesstring

Request body (required): application/jsonCreateGroupRoleMappingRequest

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

DELETE /api/v1/directories/{directoryId}/group-role-mappings/{id}

Directory Group Role Mapping Delete

  • Operation ID: directoryGroupRoleMappingDelete
  • Required scopes: tenant:orgs.write

Parameters:

NameInRequiredTypeDescription
directoryIdpathyesstring
idpathyesstring

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)