cURL
curl --request POST \ --url http://{host}:{port}/{contextPath}/tenant/create \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "id": "tenantOne", "name": "Tenant One" } '
{ "type": "<string>", "message": "<string>", "code": 123 }
Create a new 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. This method returns no content.