organizations

Update Member Role

Update a member's role within the organization.

Only administrators and owners can change roles.

Requires authentication and admin privileges in the organization.

patch/organizations/{organization_id}/members/{member_id}/role

Request

  • Base URL: https://backend.pruna.ai (the document declares no server; this is the origin it was published from)
  • URL: https://backend.pruna.ai/organizations/{organization_id}/members/{member_id}/role
  • Auth: HTTP bearer

Path parameters

organization_idstring required
member_idstring required

Request body

rolestring required

New role for the member (ADMINISTRATOR or MEMBER)

Response

Successful Response

userIdstring required

User ID

organizationIdstring nullable

Organization ID

emailstring required

User email

namestring required

User name

rolestring required

Member role (ADMINISTRATOR or MEMBER)

joinedAtstring date-time required

Timestamp when member joined

Changes

No recorded changes to this operation across all 1 revision of this API.