PPylon Developers
ApiAdmin Tenants

Create Tenant

POST
/api/admin/v1/tenants
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/admin/v1/tenants" \  -H "Content-Type: application/json" \  -d '{    "slug": "string",    "name": "string"  }'
{
  "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
  "slug": "string",
  "name": "string"
}
{
  "code": "string",
  "message": "string"
}