Organizations and Projects

Set a member's role on a project

Changed on

Creates or updates the member's explicit role grant on the project.

put/orgs/{orgID}/members/{userID}/projects/{projectID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

userID, string required

User ID (usr_...).

projectID, string required

Project ID (proj_...).

Request body

SetProjectMembershipRequest required
role, string required

The member's project role (admin, developer, operator, or viewer).

Response

Project role grant set.

ProjectMembershipGrant 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_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    156 more changes in this revision