Skip to main content
DELETE
/
organizations
/
admin
/
{org_id}
Delete an organization
curl --request DELETE \
  --url https://api.pcxpay.com/v1/organizations/admin/{org_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "createdAt": "2023-11-07T05:31:56Z"
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string
required

Body

application/json
createdAt
string<date-time>
required

Response

Organization deleted

status
string
Example:

"success"

message
string
data
object