---
title: "Get Office 365 instance"
method: GET
path: "/office365s/{office365_id}"
tags: ["Office 365"]
---

# Get Office 365 instance

`GET /office365s/{office365_id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/office365s/{office365_id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/office365s/:office365_id/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns a specific Office 365 instance.

#####

Sample Request

```
curl -X GET https://console.jumpcloud.com/api/v2/office365s/{OFFICE365_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'

```

## Headers

- `x-org-id` string

## Response `200`

- Office365
  - `id` string
  - `userLockoutAction` 'suspend' | 'maintain'
  - `userPasswordExpirationAction` 'suspend' | 'maintain'
  - `name` string
  - `groupsEnabled` boolean
  - `defaultDomain` DefaultDomain, nullable
    - `id` string
    - `domain` string

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
