Skip to content

Product documentation

DpoRole

The DpoRole resource.

DpoRole

The DpoRole resource.

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

Operations

MethodPathSummaryScopes
GET/api/v1/members/dpo-officersDpo Role Listtenant:members.read
PUT/api/v1/members/dpo-officers/{subject}Dpo Role Assigntenant:members.write
DELETE/api/v1/members/dpo-officers/{subject}Dpo Role Unassigntenant:members.write

Operation details

GET /api/v1/members/dpo-officers

Dpo Role List

  • Operation ID: dpoRoleList
  • Required scopes: tenant:members.read

Responses:

StatusDescriptionBody
200OKDpoOfficerListResponse
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)

PUT /api/v1/members/dpo-officers/{subject}

Dpo Role Assign

  • Operation ID: dpoRoleAssign
  • Required scopes: tenant:members.write

Parameters:

NameInRequiredTypeDescription
subjectpathyesstring

Responses:

StatusDescriptionBody
200OKDpoOfficerResponse
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/members/dpo-officers/{subject}

Dpo Role Unassign

  • Operation ID: dpoRoleUnassign
  • Required scopes: tenant:members.write

Parameters:

NameInRequiredTypeDescription
subjectpathyesstring

Responses:

StatusDescriptionBody
204No Contentobject
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)