Skip to content

Product documentation

MeConsent

The MeConsent resource.

MeConsent

The MeConsent resource.

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

Operations

MethodPathSummaryScopes
GET/api/v1/me/consentsMe Consent Listbearer, no extra scope
POST/api/v1/me/consentsMe Consent Grantbearer, no extra scope
GET/api/v1/me/consents/{consentId}/receiptMe Consent Receiptbearer, no extra scope
POST/api/v1/me/consents/{consentId}/withdrawMe Consent Withdrawbearer, no extra scope

Operation details

GET /api/v1/me/consents

Me Consent List

  • Operation ID: meConsentList
  • Required scopes: bearer, no extra scope

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/me/consents

Me Consent Grant

  • Operation ID: meConsentGrant
  • Required scopes: bearer, no extra scope

Request body (required): application/jsonMeGrantConsentRequest

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/me/consents/{consentId}/receipt

Me Consent Receipt

  • Operation ID: meConsentReceipt
  • Required scopes: bearer, no extra scope

Parameters:

NameInRequiredTypeDescription
consentIdpathyesstring

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/me/consents/{consentId}/withdraw

Me Consent Withdraw

  • Operation ID: meConsentWithdraw
  • Required scopes: bearer, no extra scope

Parameters:

NameInRequiredTypeDescription
consentIdpathyesstring

Request body: application/jsonWithdrawConsentRequest

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)