Skip to main content
PATCH
Change a member's role

Autorisations

Authorization
string
header
requis

API token (olab_…) created in Settings → API tokens or with orbitlab login.

En-têtes

X-OrbitLab-Org
string

Organization to act on (id or slug) for tokens that can access several organizations. Defaults to your first organization.

Paramètres de chemin

id
string
requis

Organization id.

memberId
string
requis

Membership id (from the members list).

Corps

application/json
role
enum<string>
requis

New role.

Options disponibles:
owner,
admin,
member

Réponse

success.

The response is of type object.