---
title: "POST /{tenantID}/isMemberOf"
method: POST
path: "/{tenantID}/isMemberOf"
tags: ["Group"]
---

# POST /{tenantID}/isMemberOf

`POST /{tenantID}/isMemberOf`

Checks whether the specified user, group, contact, or service principal is a direct or transitive member of the specified group.

## Path parameters

- `tenantID` string, required

## Query parameters

- `api-version` string, required

## Request body

- CheckGroupMembershipParameters — Request parameters for IsMemberOf API call.
  - `groupId` string, required — The object ID of the group to check.
  - `memberId` string, required — The object ID of the contact, group, user, or service principal to check for membership in the specified group.

## Response `200`

OK. Indicates success. Returns true if the user, contact, group, or service principal is a direct or a transitive member of the specified group; otherwise, false.

- CheckGroupMembershipResult — Server response for IsMemberOf API call
  - `value` boolean — True if the specified user, group, contact, or service principal has either direct or transitive membership in the specified group; otherwise, false.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/windows/apis/graphrbac.md) · [All operations](https://skmtc.net/windows/apis/graphrbac/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windows/graphrbac/versions/003d8a5138c2/schema)
