com.atproto.server.createAppPassword
POST/xrpc/com.atproto.server.createAppPassword
This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Create an App Password.
Request
- application/json
Body
required
name stringrequired
A short name for the App Password, to help distinguish them.
privileged boolean
If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
name stringrequired
password stringrequired
createdAt date-timerequired
privileged boolean
{
"name": "string",
"password": "string",
"createdAt": "2024-11-03T00:30:34.772Z",
"privileged": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, AccountTakedown
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...