Ms365
Retrieve details of tenant Microsoft 365 settings.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
/ms365GET /api/ms365 HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "national_cloud": "GLOBAL",
  "directory_id": "text",
  "application_id": "text",
  "redirect_uri": "text",
  "sbc_redirect_uri": "text",
  "sync_time": "text",
  "users": {
    "enabled": false,
    "sync_guest_users": false,
    "sync_photo": false,
    "starting_extension_number": "text",
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "sign_in_as_administrator": {
    "enabled": false,
    "selected_users": [
      "text"
    ]
  },
  "sign_in_as_standard_user": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "personal_contacts": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "shared_mailbox": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "events": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  }
}Update tenant Microsoft 365 settings.
Authorizations
Body
national_cloudstring · enumOptionalDefault: 
The Microsoft cloud services are available in several separate national clouds.
These national cloud versions are physical and logical network-isolated instances of Microsoft enterprise cloud services
that are confined within the geographic borders of specific countries and operated by local personnel.
Can be either:
GLOBAL: Azure global service.CHINA: Azure China service.
GLOBALPossible values: directory_idstringOptional
The Directory ID (Tenant ID) of Microsoft identity platform.
application_idstringOptional
The Application (client) ID of Azure AD.
sync_timestringOptional
The crontab expression https://en.wikipedia.org/wiki/Cron
Responses
200
OK
No content
4XX
Error
post
/ms365POST /api/ms365 HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 633
{
  "national_cloud": "GLOBAL",
  "directory_id": "text",
  "application_id": "text",
  "sync_time": "text",
  "users": {
    "enabled": false,
    "sync_guest_users": false,
    "sync_photo": false,
    "starting_extension_number": "text",
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "sign_in_as_administrator": {
    "enabled": false,
    "selected_users": [
      "text"
    ]
  },
  "sign_in_as_standard_user": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "personal_contacts": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "shared_mailbox": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "events": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  }
}No content