Ir al contenido

Revoke; effective within 1 minute

POST
/api-credentials/{credentialId}/revoke
curl --request POST \
--url https://acme.gravitastec.com/api/v1/api-credentials/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revoke \
--cookie __Host-gravitas=<__Host-gravitas>
credentialId
required
string format: uuid

Revoked

Not found or outside the credential scope

Media typeapplication/problem+json
object
type
string
title
string
status
integer
code
string
errors
Array<object>
object
path
string
message
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"code": "example",
"errors": [
{
"path": "example",
"message": "example"
}
]
}