Skip to content

Delete Authorization

Delete an authorization record by its authorization ID.

Endpoint

DELETE /apis/soap-enrichment/v1/authorization/{authorizationId}

Path Parameters

Parameter Type Required Description
authorizationId string Yes The unique ID of the authorization record to delete

Request

curl --location --request DELETE '{base_url}/apis/soap-enrichment/v1/authorization/auth_69cd0c97abc123' \
  --header 'Authorization: Bearer JWT_TOKEN'

Response

Success Response

Code: 200 OK

{
  "code": 2000,
  "data": "Authorization deleted successfully",
  "message": "Success"
}

Response Fields

Field Type Description
data string Confirmation message

Error Response

Code: 200 OK

{
  "code": 4004,
  "data": null,
  "message": "Authorization not found"
}