DELETE
/organizations/{org_id}/members/{member_id}Remove organization memberRemoves the specified member from the organization. Only organization admins can perform this action. The last admin in an organization cannot be removed.
Parameters
org_idstringpathrequiredThe Neon organization ID
member_idstring · uuidpathrequiredThe Neon organization member ID
Responses
objectEmptyResponse
Empty response.
{}objectGeneralError
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"
}