Skip to content

Cloud Architecture‐ Delete Cloud

Sandesh Menath edited this page Oct 25, 2023 · 3 revisions

Delete Tenant

  • Endpoint: /tenants
  • Method: DELETE
  • Description: Delete a tenant.

Request Parameters

  • app_key (string, required): Your secret key.
  • id (string, required): The ID of the tenant to be deleted.

Sample Request

DELETE /tenants
Content-Type: application/json

{
  "app_key": "YOUR_THIRD_PARTY_APP_KEY",
  "id": "tenant-to-delete-id"
}

Sample Response

{
  "status": "success",
  "message": "Tenant deleted successfully"
}

Note: The request data you see is the data Agora invoicing will be sending and will be expecting the response from your cloud in the format which is mentioned here and then the parent API Create tenant will continue executing

Clone this wiki locally