Skip to main content
GET
Read a group's role
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. The role this group gives its members, or null. Admins and owners.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The group id.

Required string length: 1 - 64

Response

The group's role.

groupId
string
required
role
enum<string> | null
required

null: the group sets no role.

Available options:
admin,
member,
null