Skip to main content

Create a Tenant

Parameters#

NameDescription
name (string)
required*
The Tenant's name

Request#

POST /tenants
curl --location -g --request POST '/{{base-api-url}}/tenants' \
--header 'Authorization: Bearer {{your-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Your new Tenant\'s name"
}'

Returns#

Returns a Tenant object if creation succeeded.

Returns an error otherwise.