Authorizations
Revoke authorization
Revoke an active or pending authorization. Optionally provide a reason.
delete/api/v1/authorizations/{id}
Request
- Base URL: https://api.proof.holdings
- URL: https://api.proof.holdings/api/v1/authorizations/{id}
- Auth: HTTP bearer
Path parameters
idstring required
MongoDB ObjectId
Example:507f1f77bcf86cd799439011
Request body
Example request
{
"reason": "User requested removal"
}Response
Authorization revoked
Example response
{
"id": "507f1f77bcf86cd799439011",
"status": "active",
"hitl_id": "507f1f77bcf86cd799439011",
"circle_id": "507f1f77bcf86cd799439011",
"recipient": "123456789",
"phone": "+15551234567",
"channel": "whatsapp",
"scope": "confirmations",
"business_name": "Acme Corp",
"label": "Sarah — CFO",
"recipient_display_name": "Sarah @sarah_cfo",
"enrolled": true,
"verification_id": "507f1f77bcf86cd799439011",
"confirmations_sent": 5
}Changes
No recorded changes to this operation across all 1 revision of this API.