Retrieve a user group
GET
Retrieves information about the specified group and the user’s membership in it.
API-Keyheader
X-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
user_id*string
The unique identifier of the user.
group_id*string
The unique identifier of the group.
Format
uuidResponse Body
200
application/json
The user's group association was retrieved successfully
TypeScript Definitions
Use the response body type in TypeScript.
User Group: Represents the membership of a user in a group.
Errors
401Unauthorized
403Forbidden
curl -X GET "https://your-domain.us.monocloud.com/api/users/WUgDGqaqzqkRmsgd3PFAT/groups/b4835fe2-5d39-4ff8-a1b6-1699b5899ff8" \ -H "X-API-KEY: <token>"{ "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "user_id": "string", "creation_time": 0, "group_name": "string"}