Storyden
Accounts

Account Password Reset Token Get

Provides the caller with a token that can be used with the endpoint `/auth/password/reset` to reset the account's password. This is intended for admin usage for when the instance is not using email authentication mode or if the target account has no email addresses to send resets.

POST/accounts/{account_id}/auth/password/reset-token

Provides the caller with a token that can be used with the endpoint /auth/password/reset to reset the account's password. This is intended for admin usage for when the instance is not using email authentication mode or if the target account has no email addresses to send resets.

storyden-session<token>

In: cookie

Path Parameters

account_id*string

Account ID.

Formatxid

Response Body

application/json

application/json

curl -X POST "https://example.com/accounts/cc5lnd2s1s4652adtu50/auth/password/reset-token"
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
Empty
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}