Functions
Promote user to project admin
Set is_admin = true for a user by email. Lifecycle-gated for non-active projects. The user's next JWT will have role: project_admin (BYPASSRLS, can manage secrets).
post/projects/v1/admin/{project_id}/promote-user
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/admin/{project_id}/promote-user
- Auth: HTTP bearer
Path parameters
project_idstring required
Run402 project ID. Public IDs are not UUIDs.
Example:prj_1741340000_0042
Request body
Response
User promoted
Example response
{
"status": "promoted"
}Changes
No recorded changes to this operation across all 1 revision of this API.