Skip to content

Product documentation

DirectoryAttributeMapping

The DirectoryAttributeMapping resource.

DirectoryAttributeMapping

The DirectoryAttributeMapping resource.

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

Operations

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

Operation details

GET /api/v1/directories/{directoryId}/attribute-mappings

Directory Attribute Mapping List

  • Operation ID: directoryAttributeMappingList
  • 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}/attribute-mappings

Directory Attribute Mapping Create

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

Parameters:

NameInRequiredTypeDescription
directoryIdpathyesstring

Request body (required): application/jsonCreateAttributeMappingRequest

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}/attribute-mappings/{id}

Directory Attribute Mapping Delete

  • Operation ID: directoryAttributeMappingDelete
  • 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)