Tenant

Create or update tenant by robot

Creates a new tenant or updates an existing one. Returns tenantId only.

POST
/api/v2/tenants/by-robot

Authorization

BearerAuthObject
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v2/tenants/by-robot" \  -H "Content-Type: application/json" \  -d '{    "productId": "8ebfac95-50f4-422b-a257-6c6143b999c4",    "name": "test-tenant",    "platforms": [      "web"    ],    "languages": [      1    ]  }'
{  "tenantId": "b9d1b72d-8351-4a0e-8f3e-d81d52f14ea9"}
Empty
Empty
Empty
Empty