Skip to main content
GET
Read a member
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. One member of this organization.
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 member's user id.

Required string length: 1 - 64

Response

The member.

createdAt
string
required

Joined at, ISO 8601.

email
string
required
id
string
required

The person's user id.

name
string | null
required
role
enum<string>
required
Available options:
owner,
admin,
member
roleManaged
boolean
required

A directory group sets this role, so it cannot be changed here.

signInExempt
boolean
required

Break-glass: may sign in without the organization's single sign-on when it is required.

status
enum<string>
required
Available options:
active,
suspended