DELETE
/
v1
/
tenants
/
{id}
rr, err := client.Tenancy.Delete(context.Background(), &v1.TenantDeleteRequest{
    Id: ""
})
{
  "tenant": {
    "id": "<string>",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

id
string
required

id is the unique identifier of the tenant to be deleted.

Response

200
application/json
A successful response.

TenantDeleteResponse is the message returned from the request to delete a tenant.

tenant
object

Tenant represents a tenant with an id, a name, and a timestamp indicating when it was created.