Skip to main content
GET
/
api
/
csrf-token
{  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",  "created": "2023-11-07T05:31:56Z",  "updated": "2023-11-07T05:31:56Z",  "token": "<string>",  "client": "<string>",  "expiration": "2023-11-07T05:31:56Z" }

Headers

x-prefect-api-version
string

Query Parameters

client
string
required

The client to create a CSRF token for

Response

Successful Response

id
string<uuid>
required
created
string<date-time> | null
required
updated
string<date-time> | null
required
token
string
required

The CSRF token

client
string
required

The client id associated with the CSRF token

expiration
string<date-time>
required

The expiration time of the CSRF token