This request will validate if a Microsoft 365 tenant has granted access to the “Telecom X Hosted PBX” app, to allow for integration.
| URL | https://api.telecomx.dk/integration/ms365/validate/tenant | |
|---|---|---|
| Method | POST | |
| Access level | VIEWER, OWNER, RESELLER, RESELLER_ADMIN or ADMIN. | |
| Body | tenantId | Id of the tenant to validate |
{
"tenantId": "12397jhdsd-128378ydjas-fhjgg78128"
}
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 404 | tenantId | Tenant not found |
| 409 | tenantId | No users found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |