v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
users

Update User

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can't modify)
  2. Field protection (non-superadmins can't modify specific fields)
patch/api/users/{customer_identifier}/

Path parameters

customer_identifierstring required

Headers

Authorizationstring required

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Request body

namestring nullable
emailstring nullable
customer_identifierstring nullable
total_budgetnumber double nullable
period_budgetnumber double nullable
total_period_usagenumber double
period_startstring date-time
period_endstring date-time nullable
budget_durationstring
updated_atstring date-time

Response

idstring required
namestring nullable
emailstring nullable
customer_identifierstring nullable
total_budgetnumber double nullable
period_budgetnumber double nullable
organization_namestring required
total_period_usagenumber double
period_startstring date-time
period_endstring date-time nullable
budget_durationstring
updated_atstring date-time