users
Update a customer
Update customer profile and budget settings. Customers are created automatically from usage; use this endpoint to configure budgets or update profile fields after creation.
patch/api/users/{customer_identifier}/
Path parameters
customer_identifierstring required
Your unique identifier for this customer.
Query parameters
environment'prod' | 'test'
Optional environment filter. If omitted, the backend uses the environment implied by your auth context when applicable.
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, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Request body
Response
Updated customer details.