Updates a given tenant.

Method

PUT /tenant/{id}

Parameters

Path Parameters

Name Type Description
id String The id of the tenant.

Request Body

A JSON object with the following properties:

Name Type Description
id String The id of the tenant.
name String The name of the tenant.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
403 application/json Identity service is read-only.
404 application/json If the tenant with the requested Id cannot be found.
500 application/json The tenant could not be updated due to an internal server error. See the Introduction for the error response format.

Example

Request

PUT /tenant/tenantOne

Request Body:

{
  "id":"tenantOne",
  "name":"Tenant One"
 }

Response

Status 204. No content.

目录: