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

200
application/json
Successful Response
id
string
required
created
string | null
required
updated
string | null
required
token
string
required

The CSRF token

client
string
required

The client id associated with the CSRF token

expiration
string
required

The expiration time of the CSRF token