Credential
Create a credential without a recipient
Creates a standalone credential without specifying a recipient
post
Create a standalone credential
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Request containing credential type and subject data
typestring · min: 1RequiredExample:
Type of credential to be created
ProofOfPurchasePattern: ^[a-zA-Z0-9_]+$Responses
201
Created
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
post
/api/v1/credentialsRetrieve a credential by ID
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
The unique identifier of the credential
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Not Found
application/json
get
/api/v1/credentials/{id}Mark a credential’s status (e.g. revoke)
Authorizations
x-client-secretstringRequired
Path parameters
idstringRequired
The credential ID to update
Responses
200
OK
No content
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
post
/api/v1/credentials/{id}/revokeNo content
Last updated