CustomDomain Docs
ReferenceAPI referenceAgents

Deny a pending agent authorization

Deny a pending agent authorization: CustomDomain™ API reference in the agents group. Covers request parameters, the request body, responses and error codes.

DELETE
/agent/consent-request/{id}

Consumes the request so it can no longer be approved, from this tab or any other. Idempotent, and like the read it needs no credential: the request id is the capability, and cancelling is all it allows.

Path Parameters

id*string

Response Body

application/json

curl -X DELETE "https://example.com/agent/consent-request/string"
Empty
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}