Skip to main content
Returns the workspace’s delegated admins, as listed on the Delegated admins page in workspace settings: members of its GitHub organization who were granted Macroscope workspace Admin, oldest grant first, with who granted each. All delegated admins are returned without pagination. A delegated admin has Macroscope workspace Admin: they can do anything a workspace admin can, including creating API keys, managing billing, and granting or revoking admin for others.

Authorization

Requires an Admin API key, or an OAuth sign-in with Admin access by a person who is a workspace admin. Read and Write keys get 403, and a sign-in with Read or Write access gets an insufficient_scope challenge for macroscope:admin.
string
required
Bearer <key>. See Authentication.

Path parameters

string
required
GITHUB_ORGANIZATION or GITHUB_USER.
string
required
Numeric GitHub ID of the organization or user.

Response

DelegatedAdmin[]
The delegated admins. Omitted when there are none.

Errors

HTTPMeaning
403Your credential or your permissions do not allow managing delegated admins
See Errors for the rest.