Product documentation
DirectoryAttributeMapping
The DirectoryAttributeMapping resource.
DirectoryAttributeMapping
The DirectoryAttributeMapping resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/directories/{directoryId}/attribute-mappings | Directory Attribute Mapping List | tenant:orgs.read |
POST | /api/v1/directories/{directoryId}/attribute-mappings | Directory Attribute Mapping Create | tenant:orgs.write |
DELETE | /api/v1/directories/{directoryId}/attribute-mappings/{id} | Directory Attribute Mapping Delete | tenant:orgs.write |
Operation details
GET /api/v1/directories/{directoryId}/attribute-mappings
Directory Attribute Mapping List
- Operation ID:
directoryAttributeMappingList - 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}/attribute-mappings
Directory Attribute Mapping Create
- Operation ID:
directoryAttributeMappingCreate - Required scopes:
tenant:orgs.write
Parameters:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
directoryId | path | yes | string |
Request body (required): application/json → CreateAttributeMappingRequest
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}/attribute-mappings/{id}
Directory Attribute Mapping Delete
- Operation ID:
directoryAttributeMappingDelete - 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) |