Users and API Keys
Set an org API key's role on a project
Changed onCreates or updates the key's explicit role grant on the project.
put/orgs/{orgID}/api-keys/{keyID}/projects/{projectID}
Request
- Base URLhttps://api.omnara.com/v1
- AuthAPI key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
orgID, string required
Organization ID (org_...).
keyID, string required
Org API key ID (oak_...).
projectID, string required
Project ID (proj_...).
Request body
Set Project Membership Request required
role, string required
The member's project role (admin, developer, operator, or viewer).
Response
Project role grant set.
Project Membership Grant required
project_id, string required
Project ID (proj_...).
project_name, string required
Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
role, string required
The member's role on the project (admin, developer, operator, or viewer).
created_at, string date-time required
Changes
- info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status
156 more changes in this revision
- info