/organizations/{org_id}/members/{member_id}Update role for organization memberUpdates the role of an existing member in the specified organization. The requested role must be valid for the organization. Only organization admins can call this endpoint.
Parameters
org_idstringpathrequiredThe Neon organization ID
member_idstring · uuidpathrequiredThe Neon organization member ID
Request body
requiredapplication/json
rolestringrequiredOrganization member's role. `admin`: full administrative access. `editor` (and its legacy alias `member`): standard access governed by project permissions. `viewer` and `collaborator`: additional scoped project roles. Some values may not be available for all organizations.
{
"role": "member"
}Responses
idstring · uuidrequiredThe organization member's ID.
joined_atstring · date-timeTimestamp when the user joined the organization.
org_idstringrequiredThe Neon organization ID. Returned as `id` from `GET /users/me/organizations`.
rolestringrequiredOrganization member's role. `admin`: full administrative access. `editor` (and its legacy alias `member`): standard access governed by project permissions. `viewer` and `collaborator`: additional scoped project roles. Some values may not be available for all organizations.
user_idstring · uuidrequiredThe Neon user ID.
{
"id": "00000000-0000-0000-0000-000000000000",
"joined_at": "2026-06-09T00:00:00Z",
"org_id": "org-cool-darkness-12345678",
"role": "admin",
"user_id": "00000000-0000-0000-0000-000000000000"
}codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}