cURL
curl --request GET \ --url https://api.example.com/v2/databases/{database}/auth/csrf
{ "csrfToken": "abc123" }
Returns a CSRF token to be used in subsequent requests.
The string (id or name, depending on the credentials)
CSRF token
"abc123"
Was this page helpful?