User Tools

Site Tools


api:integration:ms365:validate:tenant

API : MS365 : Validate : Tenant

Introduction

This request will validate if a Microsoft 365 tenant has granted access to the “Telecom X Hosted PBX” app, to allow for integration.

Request

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

Query examples

{
  "tenantId": "12397jhdsd-128378ydjas-fhjgg78128"
}

Response

Example - normal

{
  "success": true
}

Errors

Error code Message Description
404 tenantId Tenant not found
409 tenantId No users found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/integration/ms365/validate/tenant.txt · Last modified: 2024/02/26 12:22 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki