Tenants
Create tenant
Create tenant under the current environment
POST
/v1/tenants
Authorization*
curl --request POST \
--url https://api.novu.co/v1/tenants \
--header 'Authorization: ApiKey' \
--header 'Content-Type: application/json' \
--data '{
"identifier": "<identifier>",
"name": "<name>"
}'
{
"data": {
"_environmentId": "string",
"_id": "string",
"createdAt": "string",
"data": "object",
"identifier": "string",
"name": "string",
"updatedAt": "string"
}
}
Please ensure there is a space between ApiKey
and your Api key.
E.g ApiKey 18d2e625f05d80e
Body
application/json
data
object
identifierrequired
string
namerequired
string
Response
200 - application/json
data
object
curl --request POST \
--url https://api.novu.co/v1/tenants \
--header 'Authorization: ApiKey' \
--header 'Content-Type: application/json' \
--data '{
"identifier": "<identifier>",
"name": "<name>"
}'
{
"data": {
"_environmentId": "string",
"_id": "string",
"createdAt": "string",
"data": "object",
"identifier": "string",
"name": "string",
"updatedAt": "string"
}
}