Skip to main content

EnsureAdminProjectMembership

POST 

/admin/v1/customers/:customer_id/projects/:project_id/pending-members

EnsureAdminProjectMembership records the intent to grant an email a role on a project (#6119). At onboarding/provisioning time the target identity row usually does not exist yet (SSO users are created lazily at first login), so the grant is parked by email and materialized at first login via ResolvePendingProjectMemberships. If the identity already exists the grant is written straight to project_members instead. Idempotent.

Request

Responses

Success