Give a member a role in a project
PUT
/v1/organisations/{id}/projects/{pid}/access/{subject}Operation projects.grant · since 2026-11-05 · stable
Needs a session withwritescopeAnswers200 OK
Path parameters
- idstring (uuid)required
- The organisation id.
- pidstring (uuid)required
- The project id.
- subjectstringrequired
- The person, by their Rykon account subject (from projects.access or organisations.get).
Body (JSON)
- rolestringrequired
- "owner", "maintainer", "developer" or "viewer"
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
PUT/v1/organisations/{id}/projects/{pid}/access/{subject}
curl -X PUT "https://api.rykloud.com/v1/organisations/$ORG_ID/projects/$PROJECT_ID/access/$SUBJECT" \
-H "Authorization: Bearer $RYKLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"role": "developer"
}'