Product documentation
DirectoryGroupRoleMapping
The DirectoryGroupRoleMapping resource.
DirectoryGroupRoleMapping
The DirectoryGroupRoleMapping resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/directories/{directoryId}/group-role-mappings | Directory Group Role Mapping List | tenant:orgs.read |
POST | /api/v1/directories/{directoryId}/group-role-mappings | Directory Group Role Mapping Create | tenant:orgs.write |
DELETE | /api/v1/directories/{directoryId}/group-role-mappings/{id} | Directory Group Role Mapping Delete | tenant: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:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
directoryId | path | yes | string |
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — 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:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
directoryId | path | yes | string |
Request body (required): application/json → CreateGroupRoleMappingRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — 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:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
directoryId | path | yes | string | |
id | path | yes | string |
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | object |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |