> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Organization Members

> Add or remove members from an organization.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path Parameters

<ParamField path="org_id" type="string" required>
  The unique identifier of the organization.
</ParamField>

### Body

<ParamField body="action" type="string" required>
  The action to perform.\
  <br />Valid values: `"add"`, `"remove"`
</ParamField>

<ParamField body="target" type="string" required>
  The user ID of the member to be added or removed.
</ParamField>

<ParamField body="permissions" type="string[]">
  A list of permissions to assign when adding a member.\
  <br />Required only when `action` is `"add"`.\
  <br />Valid values: `"owner"`, `"admin"`, `"operator"`, `"viewer"`
</ParamField>

<ParamField body="is_invite" type="boolean">
  Whether the removal applies to an invite instead of a full member.\
  <br />Required only when `action` is `"remove"`.
</ParamField>

### Response

<ResponseField name="data" type="null">
  Always `null` upon successful update.
</ResponseField>

<ResponseField name="errors" type="null">
  Always `null` on success.
</ResponseField>

<ResponseExample>
  ```json Response   theme={null}
  {
    "data": null,
    "errors": null
  }
  ```
</ResponseExample>

***

Docs for agents: [llms.txt](/llms.txt)
