Skip to content

Revoke consent

DELETE
/api/v1/account/consent/{purpose}
curl --request DELETE \
--url http://localhost:3001/api/v1/account/consent/example \
--header 'Authorization: <Authorization>'

Revoke consent for a specific processing purpose (GDPR Art. 7). SA-2026-ARCH P4-N5.

purpose
required
string

Processing-purpose identifier

Revoked

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}