Skip to main content

Add existing member to domain or project

POST 

/memberships/:scopeKind/:scopePid/members

Grants an existing org member access to a domain or project sub-scope via principalPid and role. Org membership is created only through invite. Requires a trusted origin and owner/admin of the scope (or an ancestor). Returns 422 when the principal is not an org member, is already in the scope, is a service account, or the mutation would remove the last owner.

Request

Responses

Success