Update self email
Updates the email address of the currently authenticated user. The change is persisted to the database immediately.
Updates the email address of the currently authenticated user. The change is persisted to the database immediately.
Preferred API authentication. Use a JWT with the api audience.
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 "http://127.0.0.1:38765/v1/client/email" \ -H "Content-Type: application/json" \ -d '{ "email": "" }'{}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}How is this page?
Invalidate self sessions POST
Invalidates all existing sessions for the currently authenticated user. This is done by setting the user's minIssuedAt timestamp to the current time, which causes all previously issued JWT tokens to become invalid. After calling this method, the user will need to re-authenticate on all devices.
Update self username PATCH
Updates the username of the currently authenticated user. The change is persisted to the database immediately.