Skip to main content

ResolvePendingProjectMemberships

POST 

/admin/v1/customers/:customer_id/pending-members:resolve

ResolvePendingProjectMemberships materializes every pending email-keyed grant for (customer_id, email) into real project_members rows for user_id, then clears the resolved pending rows. Idempotent and cheap to call on every login: with no pending rows it is a no-op.

user_id must be the live account whose email is email. When the credential stands for a person, user_id must also be that person. Otherwise the call answers PERMISSION_DENIED with one text for every case, writes nothing and keeps the pending rows. A banned account gets resolved_count 0 and keeps its pending rows.

Request​

Responses​

Success