Skip to content
IForevents Docs
IForevents Docs
InicioPanelGitHubPrivacidadTérminosSeguridadIntroducción
Referencia de la API
Confirm an email address POSTSend a fresh verification link POSTExchange credentials for a token pair POSTRevoke every refresh token for the caller POSTThe authenticated account GETChange the password and revoke every session PATCHConsume a reset token and set a new password POSTSend a reset link POSTRotate a refresh token POSTCreate an account and its organization POSTFirst-run state of a self-hosted server GET
Soporte y SLA
API ReferenceEndpointsAuth

Change the password and revoke every session

PATCH
/v1/auth/me/password

Revokes every refresh token of the account, the caller's included: each session, this one too, ends when its access token expires.

Authorization

bearerAuth
AuthorizationBearer <token>

Session token issued by the accounts service (or the legacy /v1/auth routes).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/auth/me/password" \  -H "Content-Type: application/json" \  -d '{    "new_password": "a longer passphrase 2026",    "old_password": "correct horse battery staple"  }'
{  "message": "password updated successfully"}

The authenticated account GET

Previous Page

Consume a reset token and set a new password POST

Next Page

new_password*string
old_password*string