Skip to content

Refresh CSRF token

POST
/api/auth/csrf
curl --request POST \
--url http://localhost:3001/api/auth/csrf \
--header 'Authorization: <Authorization>'

Generate a new CSRF token for the current session.

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}