Organizations and Projects

Update org member role

Changed on

Changes the member's org role. Only owners can grant the owner role or change an owner's role, and the last owner cannot be demoted. Demoting an owner cancels the pending owner invitations they sent.

patch/orgs/{orgID}/members/{userID}

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_...).

Request body

UpdateOrgMemberRequest required
role, string required

The member's new org role (owner, admin, or member).

Response

Org member role updated.

OrganizationMembership required
org_id, string required

Organization the user belongs to.

user_id, string required

User who holds this membership.

role, string required

The user's organization role, which sets what they can do in the org.

created_at, string date-time required

When the user joined the organization; role changes do not update it.

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