ApiTenants
Create new tenant
Create a new tenant
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://dev.sweetconnect.io/api/auth/v1/tenants" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"tenant": {
"id": "string",
"name": "string",
"activated": true,
"attributes": {}
}
},
"meta": {
"responseTime": 0
}
}{
"statusCode": 0,
"message": "string",
"error": "string"
}{
"statusCode": 0,
"message": "string",
"error": "string"
}{
"statusCode": 0,
"message": "string",
"error": "string"
}