---
title: "Update Member"
method: PATCH
path: "/orgs/{org_id}/members/{user_id}"
tags: ["orgs"]
---

# Update Member

`PATCH /orgs/{org_id}/members/{user_id}`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/orgs/{org_id}/members/{user_id}`
- Auth: API key in header `X-Agent-Key`

Change a member's role / write access (admin only; not the owner).

## Path parameters

- `org_id` string, required
- `user_id` string, required

## Query parameters

- `email` string, nullable

## Request body

- MemberPatchBody
  - `role` string, nullable
  - `can_write` boolean, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
