Download OpenAPI specification:
Tenants, legal entities and branches of the pawnshop SaaS.
Needs permission tenant.read (platform staff).
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerEmail": "user@example.com",
- "displayName": "string",
- "status": "provisioning",
- "realmProvisioned": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
]Needs permission tenant.create (platform staff). The name starts as the local part of the owner's email; the owner changes it later. The realm is provisioned right away through identity with the caller's token; if that fails, the tenant is still created (realmProvisioned: false) and POST /tenants/{tenantId}/provision retries.
| ownerEmail required | string <email> <= 254 characters |
{- "ownerEmail": "owner@example.com"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerEmail": "user@example.com",
- "displayName": "string",
- "status": "provisioning",
- "realmProvisioned": true,
- "createdAt": "2019-08-24T14:15:22Z"
}Needs permission tenant.create. Brings the realm to the current template.
| tenantId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerEmail": "user@example.com",
- "displayName": "string",
- "status": "provisioning",
- "realmProvisioned": true,
- "createdAt": "2019-08-24T14:15:22Z"
}Needs permission settings.manage (platform staff).
| invitationExpiry required | integer [ 1 .. 720 ] Hours an owner's invitation stays valid before it must be resent (ADR 0011); default 72 |
{- "invitationExpiry": 1
}{- "invitationExpiry": 1
}