Give a member access to a project
PUT
Overrides their organization role on this project: none hides it, view, deploy or admin; null lets the role decide again. The owner always has admin.
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
projectId*stringuserId*stringapplication/json- body
access*|Their access to this project; none hides it from them; null lets their organization role decide again.
Done.
curl -X PUT "https://openpanel.sh/api/v1/projects/$PROJECT_ID/access/$USER_ID" \ -H "Authorization: Bearer $OPENPANEL_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "access": "none"}'Example response
Empty