Skip to main content
POST
/
tenant
/
create
Create Tenant
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"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
id
string | null

The id of the tenant.

name
string | null

The name of the tenant.

Response

Request successful. This method returns no content.