DELETE /tenants/{tenantId}/product/{product} – Deletes a tenant with the given ID and product.


Headers:

  • Authorization: Bearer <access_token> (required)

Body:

  • None

Path Parameters:

  • tenantId: The tenant ID of which tenant to delete (required)
  • product: The product associated with the tenant (required)

Query Parameters:

  • None

  • 204 No Content – Indicates successful deletion with no content returned.

Status Code Meaning When it Happens
400 Bad Request Missing or invalid fields in request body
401 Unauthorized Missing or invalid authentication token
404 Not Found Specified tenant does not exist
500 Internal Server Error Unexpected error during tenant deletion
{
"error": "Detailed error message here"
}

DELETE /tenants/exampleTenantId/product/exampleProduct
{}

  • Parameters

    • event: APIGatewayProxyEvent

      The API Gateway event containing the request.

    • context: Context
    • callback: Callback<APIGatewayProxyResult>

    Returns void | Promise<APIGatewayProxyResult>

    A Promise resolving to an API Gateway-compatible response.