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. 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 and is part of the customer, the grant is written straight to project_members instead. An existing identity that is not part of the customer is parked like an unknown email, and resolves only when that person signs in to this customer's console. Idempotent.
Request
Responses
- 200
Success