Shield
Create a bypass token
Changed onMonitors, CI and API clients that send it in X-Temps-Shield-Token are never challenged or blocked. The token is returned this once; only its hash is stored.
post/projects/{project_id}/environments/{environment_id}/shield/tokens
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
environment_idinteger required
Environment ID
Request body
Response
Token created; secret is shown only now
Example response
{
"secret": "tst_12_…"
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
3 more changes in this revision
- breaking