Skip to main content
PUT
/
api
/
user
/
{id}
/
toggle-password-auth
Toggle password authentication for a user
curl --request PUT \
  --url https://your-instance.example.com/api/user/{id}/toggle-password-auth \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Password auth disabled",
  "data": {
    "userId": "64ee9a8b1e7f2a0011223399",
    "isPasswordDisabled": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Password auth toggled

success
boolean
required
Example:

true

data
object
required
message
string