Office 365

Update existing Office 365 instance.

This endpoint allows updating some attributes of an Office 365 instance.

Sample Request

curl -X PATCH https://console.jumpcloud.com/api/v2/office365s/{OFFICE365_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "userLockoutAction": "maintain",
    "userPasswordExpirationAction": "suspend",
  }'

Sample Request, set a default domain

curl -X PATCH https://console.jumpcloud.com/api/v2/office365s/{OFFICE365_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "defaultDomain": {
        "id": "{domainObjectID}"
      }
  }'

Sample Request, unset the default domain

curl -X PATCH https://console.jumpcloud.com/api/v2/office365s/{OFFICE365_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "defaultDomain": {}
  }'
patch/office365s/{office365_id}

Request

Headers

x-org-idstring

Organization identifier that can be obtained from console settings.

Request body

idstring
userLockoutAction'suspend' | 'maintain'
userPasswordExpirationAction'suspend' | 'maintain'
namestring
groupsEnabledboolean

Response

idstring
userLockoutAction'suspend' | 'maintain'
userPasswordExpirationAction'suspend' | 'maintain'
namestring
groupsEnabledboolean

Changes

No recorded changes to this operation across all 1 revision of this API.