Repository navigation
Tenants
kazuya edited this page Jan 6, 2012
·
5 revisions
List summary of tenants.
GET /tenants
- 200 : OK
- 500 : Internal error. (Failed to retrieve detail of the specified tenant.)
dummy
Create a new tenant.
GET /tenants
- 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
- 200 : OK
- 404 : Not found the specified tenant.
- 500 : Internal error. (Failed to retrieve detail of the specified tenant.)
dummy
Show details of tenant identified by tenant_id.
- tenant_id : an unique id of the tenant (required).
GET /tenants/:tenant_id
- 200 : OK
- 404 : Not found the specified tenant.
- 500 : Internal error. (Failed to retrieve detail of the specified tenant.)
dummy
Update details of tenant identified by tenant_id.
- tenant_id : an unique id of the tenant (required).
PUT /tenants/:tenant_id
- description : description of the creating tenant (option).
dummy
- 202 : Succeeded.
- 404 : Not found the specified tenant.
- 422 : The specified parameters are unacceptable.
- 500 : Internal error. (Failed to modify the specified tenant.)
Remove the tenant identified by tenant_id.
- tenant_id : an unique id of the tenant (required).
PUT /tenants/:tenant_id
- 202 : Succeeded.
- 404 : Not found the specified tenant or network.
- 500 : Internal error. (Failed to destroy the specified tenant.)