Skip to main content
DELETE
Disconnect a Microsoft 365 organization

Authorizations

X-API-Key
string
header
required

Path Parameters

grant_id
string<uuid>
required

Query Parameters

dry_run
boolean
default:false

True counts the mailboxes it would stop and changes nothing; false disconnects.

Response

Successful Response

What disconnecting a Microsoft 365 organization removed and stopped.

detail
string
required

The detail of why the resource was deleted.

mailboxes_disconnected
integer
required

How many of its mailboxes were disconnected and stopped sending; with dry_run, how many would be.

count
integer
default:1

The number of resources that were deleted.