PATCH /tenant-management/api/system/tenants/{tenant}
As of Version | product version 2021 Summer | component version 1.1 | ||||||
---|---|---|---|---|---|---|---|
Request Method | POST | ||||||
Response Format | HTTP status code | ||||||
Description | Update a new tenant with the values for the corresponding parameters specified in JSON format. The PATCH request body is expected to be in JSONPath format. The following properties can be updated:
Meaning of the response status codes:
| ||||||
Request Example |
[ {"op":"replace", "path": "/displayNameHTML", "value" : "This is a HTML formatted display name" }, {"op":"replace", "path": "/description", "value" : "My Tenant" }, { "op": "replace", "path": "/emailSettings/port", "value": 200 }, {"op":"replace", "path": "/enabled", "value" : false } ] | ||||||
Response Example |
{ "adminEmail": "mrexample@examplemail.net", "adminPassword": "changeme", "description": "My Tenant", "displayNameHTML": "This is a HTML formatted display name", "name": "My Name", "enabled": true } |