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
- Base URLhttps://console.jumpcloud.com/api/v2
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-org-idstring
Organization identifier that can be obtained from console settings.
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.