Update Member Role

Update the role of an organization member. Only organization admins or owners can perform this action.

patch/v1/organizations/{organizationSlug}/members/{username}

Path parameters

organizationSlugstring required

The slug of the organization or user account.

usernamestring required

The username of a Turso user or organization member.

Request body

role'admin' | 'member' | 'viewer' required

The new role to assign to the member.

Response

Successful response

Changes

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