cURL
curl --request PUT \ --url http://{host}:{port}/{contextPath}/tenant/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "id": "tenantOne", "name": "Tenant One" } '
{ "type": "<string>", "message": "<string>", "code": 123 }
Updates a given tenant.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the tenant.
The name of the tenant.
Request successful.