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
- 200
- 401
- 403
- 404
- 422
- 503
Success
air/UnauthorizedError
air/ForbiddenError
NotFound
air/MembershipMutationError | air/SchemaValidationError
air/AuthUnavailableError