---
title: "GET /private/set_member"
method: GET
path: "/private/set_member"
tags: ["Account Management", "Private"]
---

# GET /private/set_member

`GET /private/set_member`

Creates a new Direct Access member, or edits an existing one. Returns the resulting list of all
members configured for the account.

This method is dedicated to Starbase. See [Starbase Account Model](https://docs.deribit.com/starbase/account-model)
for an explanation of Members, portfolios, and their relationship to Deribit accounts.

Omit `member_id` to create a new member; a non-empty `accounts` list is then required, and the
member cannot be created inactive. Pass an existing `member_id` to edit that member's `name` or
`accounts` list, or to toggle its `is_active` state — toggling `is_active` and changing
`name`/`accounts` cannot be done in the same request.

Requires Direct Access trading to be enabled for the account.

**Scope:** `account:read_write` and mainaccount

[Try in API console](https://test.deribit.com/api_console?method=%2Fprivate%2Fset_member)

## Query parameters

- `member_id` integer
- `name` string, required
- `is_active` boolean
- `accounts` integer[]

## Response `200`

Success response

- PrivateSetMemberResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` MembersList, required
    - `members` Member[], required
      - `member_id` integer — Member identifier. Only present when the request is made from the main account.
      - `main_uid` integer — User ID of the main account the member belongs to. Only present when the request is made from the main account.
      - `name` string, required — Name of the member.
      - `is_active` boolean, required — Whether the member is active. Only active members have Direct Access trading rights.
      - `accounts` integer[] — List of (sub)account user ids the member has Direct Access trading rights on. Only present when the request is made from the main account.
      - `m_tstamp` integer — Timestamp of the last modification of the member, in milliseconds since the UNIX epoch. Only present when the request is made from the main account.
    - `is_direct_access_allowed` boolean, required — Whether Direct Access trading is enabled for the account.

---

[API](https://skmtc.net/deribit/apis/deribit-api-2.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api-2/versions/430b3f0bc67c/schema)
