Change Organization Member Role

Change the role of a member in an organization.

This endpoint changes the role of a user in an organization in Gitea. Only owners and admins can change the role of members in the organization.

patch/api/v2/orgs/{org}/members/{member}/role

Request

Path parameters

orgstring required
memberstring required

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Request body

permission'read' | 'write' | 'admin' | 'owner' required

Response

Successful Response

unknown required

Changes

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