Skip to content

Update a user

PATCH
/v1/admin/users/{id}

Patch user fields such as is_active, is_admin, adjust_credits, or tier_id.

Authorizations

BearerAuth

API key (Bearer key_...)

Type
API Key (header: Authorization)

Parameters

Path Parameters

id*

User ID

Type
string
Required

Request Body

application/json
JSON
{
}

Responses

OK

application/json
JSON
{
  
"balance_credits": 0,
  
"created_at": "string",
  
"email": "string",
  
"email_verified": true,
  
"id": "string",
  
"is_active": true,
  
"is_admin": true,
  
"last_active_at": "string",
  
"tier_id": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI