Users
List your organization's members, change their roles and remove them.
Use these endpoints to audit who belongs to your organization, change a member's role, and offboard people from your own tooling.
GET /v1/organizations/users
GET /v1/organizations/users/:user_id
POST /v1/organizations/users/:user_id
DELETE /v1/organizations/users/:user_idNew members join through invites.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/organizations/users | List users |
| GET | /v1/organizations/users/:user_id | Retrieve a user |
| POST | /v1/organizations/users/:user_id | Update a user's role |
| DELETE | /v1/organizations/users/:user_id | Remove a user |
Roles
| Role | Can | Set through the API |
|---|---|---|
user | Use the playground | Yes |
developer | user, plus manage API keys in their workspaces | Yes |
billing | user, plus manage billing | Yes |
admin | Everything above, plus manage members, invites, workspaces and Admin keys | No |
owner | admin, plus manage admins. Exactly one per organization | No |
Admins and the owner can't be changed or removed through the API; the owner manages them in the console.
The user object
type'user'optionalAlways user.
idstringoptionalThe user's ID.
added_atstringoptionalWhen the user joined the organization (RFC 3339).
emailstringoptionalThe user's email address.
namestringoptionalThe user's name, or an empty string if they haven't set one.
{
"type": "user",
"id": "c3a9e2d4-1f6b-4b7a-9e05-8d2c6f1a3b90",
"added_at": "2026-09-02T10:15:00.000Z",
"email": "[email protected]",
"name": "Dana Putri",
"role": "developer"
}