API referenceSections

Replace an added user's password; their sessions end

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

PUT /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid}/password

Replace an added user's password; their sessions end (ADR 0121)

Refused for the owner (use the account's password) and for someone who also belongs outside this account (PROVISIONING_OWNER_ELSEWHERE). Permissions: plan.manage.

Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
refpathstringrequired

The billing system's own reference: 1 to 64 of A-Z a-z 0-9 . _ : -

  • pattern ^[A-Za-z0-9._:-]{1,64}$
uidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

object
  • password string required
Example
{
  "password": "string"
}

Responses

204 Changed

429 Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required

default Error

Content type: application/json

Fields of Error are shown above.