1.4. Delete Docker Tenant

Overview

Delete Docker Tenant

Classification

  • Delete

API Operation Object

  • Docker Tenant

Synchronous / Asynchronous

  • Synchronous

Request

HTTP Request Method

  • DELETE

HTTP Request Path

{api_endpoint}/api/v1/tenants/{tenant_id}

HTTP Request Header

X-Auth-Token: <token_id>

HTTP Request Body

  • none

Response

HTTP Response Header

Format

HTTP/1.1 <response_code> <message>       (ex. 200 OK)
  • <response_code>: see “HTTP Responses” section

  • <message>: message based on the response code

    • skip auto insert field such as “X-Compute-Request-Id” and “Content-Length”, “Date”

Response Code

Response Codes
response code condition
200 normal end
400 specified non date format for “changes-since” query
- invalid tenant id
- specified invalid instance id for marker query
- specified non integer for limit query
401 unauthorized
403 query “status = deleted” by non-admin
404 not found a specified project

HTTP Response Body

Format

{"message":"ok"}

Response Parameter

Response Parameters
item description
message if order is accepted, “ok” is returned.