Skip to content

Product documentation

Pim

Privileged Identity Management — just-in-time role elevation with approval.

Pim

Privileged Identity Management — just-in-time role elevation with approval.

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

Operations

MethodPathSummaryScopes
GET/api/v1/pim/activationsPim List Activationstenant:pim.elevate
POST/api/v1/pim/activationsPim Request Activationtenant:pim.elevate
GET/api/v1/pim/activations/active-scopesPim Get Active Scopestenant:pim.elevate
POST/api/v1/pim/activations/{id}/approvePim Approve Activationtenant:pim.approve
POST/api/v1/pim/activations/{id}/revokePim Revoke Activationtenant:pim.approve or tenant:pim.elevate
GET/api/v1/pim/eligiblePim List Eligibletenant:pim.elevate

Operation details

GET /api/v1/pim/activations

Pim List Activations

  • Operation ID: pimListActivations
  • Required scopes: tenant:pim.elevate

Parameters:

NameInRequiredTypeDescription
limitquerynointeger
cursorquerynostring

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/pim/activations

Pim Request Activation

  • Operation ID: pimRequestActivation
  • Required scopes: tenant:pim.elevate

Request body (required): application/jsonActivationRequest

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)

GET /api/v1/pim/activations/active-scopes

Pim Get Active Scopes

  • Operation ID: pimGetActiveScopes
  • Required scopes: tenant:pim.elevate

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/pim/activations/{id}/approve

Pim Approve Activation

  • Operation ID: pimApproveActivation
  • Required scopes: tenant:pim.approve

Parameters:

NameInRequiredTypeDescription
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)

POST /api/v1/pim/activations/{id}/revoke

Pim Revoke Activation

  • Operation ID: pimRevokeActivation
  • Required scopes: tenant:pim.approve or tenant:pim.elevate

Parameters:

NameInRequiredTypeDescription
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)

GET /api/v1/pim/eligible

Pim List Eligible

  • Operation ID: pimListEligible
  • Required scopes: tenant:pim.elevate

Parameters:

NameInRequiredTypeDescription
limitquerynointeger
cursorquerynostring

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)