Skip to main content
GET
/
organizations
/
{orgId}
/
users
/
{id}
/
usergroups
Retrieve OrgUser Groups
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/users/{id}/usergroups \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "version": 123,
  "name": "<string>",
  "dtCreated": "2023-11-07T05:31:56Z",
  "dtLastModified": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

id
string
required

The unique identifier (UUID) of the user.

Query Parameters

inherited
boolean

Indicates whether or not to include inherited Groups.

  • TRUE - includes inherited groups.
  • FALSE - excludes inherited groups.

NOTE: See explanation above for details on how to use this parameter.

pageSize
integer<int32>

Specifies the maximum number of User Groups to retrieve per page.

Required range: 1 <= x <= 200
nextToken
string

The nextToken for multi-page retrievals. It is used to fetch the next page of User Groups in a paginated list.

Response

Returns a list of User Groups

id
string
required

The UUID of the entity.

version
integer<int64>

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
name
string

The name of the Resource Group.

dtCreated
string<date-time>

The date and time (in ISO-8601 format) when the Resource Group was created.

dtLastModified
string<date-time>

The date and time (in ISO-8601 format) when the Resource Group was last modified.

createdBy
string

The unique identifier (UUID) of the user who created this Resource Group.

lastModifiedBy
string

The unique identifier (UUID) of the user who last modified this Resource Group.