v1

latestOpenAPI 3.0.1MIT2026-07-134925112.4 KB

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