Create a secure token

Generate a JWT authentication token to enable enhanced debug headers for EdgeWorkers.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
integer
1 to 720
Defaults to 480

Number of minutes before the authentication token expires, from 1 to 720 minutes, or 12 hours. The default is 480 for 8 hours.

string
required
length ≥ 1

Deprecated Use hostnames instead. Hostname for a property. To create an authentication token, provide the hostnames, hostname, or propertyId.

hostnames
array of strings
length ≥ 1

List of hostnames for a property. To create an authentication token, provide the hostnames, hostname, or propertyId. Specify /* to generate an authentication token valid for all hosts.

hostnames
string
length ≥ 1

Deprecated Use hostnames instead. Unique identifier for a property. To create an authentication token, provide the hostnames, hostname, or propertyId.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json