Skip to content

Navigation Menu

Sign up
kazuya edited this page Jan 6, 2012 · 5 revisions

Tenants

List tenants

List summary of tenants.

GET /tenants

Response

  • 200 : OK
  • 500 : Internal error. (Failed to retrieve details of the specified tenant.)
dummy

Create a tenant

Create a new tenant.

POST /tenants

Input

  • id : an unique id of the tenant (option). 'id' is automatically assigned if it is not specified.
  • description : description of the creating tenant (option)
dummy

Response

  • 200 : OK
  • 404 : Not found the specified tenant.
  • 500 : Internal error. (Failed to retrieve details of the specified tenant.)
dummy

Show details of a tenant

Show details of a tenant identified by tenant_id.

  • tenant_id : an unique id of the tenant (required).
GET /tenants/:tenant_id

Response

  • 200 : OK
  • 404 : Not found the specified tenant.
  • 500 : Internal error. (Failed to retrieve detail of the specified tenant.)
dummy

Update details of a tenant

Update details of tenant identified by tenant_id.

  • tenant_id : an unique id of the tenant (required).
PUT /tenants/:tenant_id

Input

  • description : description of the creating tenant (option).
dummy

Response

  • 202 : Succeeded.
  • 404 : Not found the specified tenant.
  • 422 : The specified parameters are unacceptable.
  • 500 : Internal error. (Failed to modify the specified tenant.)

Remove a tenant

Remove the tenant identified by tenant_id.

  • tenant_id : an unique id of the tenant (required).
DELETE /tenants/:tenant_id

Response

  • 202 : Succeeded.
  • 404 : Not found the specified tenant or network.
  • 500 : Internal error. (Failed to destroy the specified tenant.)

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /