Tokens
Authenticate token header
Verify a token header without checking resource access.
Verify a token header without checking resource access.
Authorization
bearerAuth AuthorizationBearer <token>
A Fly.io access token. Create one with fly tokens create.
In: header
Request Body
application/json
Authenticate token request
header?string
Response Body
application/json
application/json
curl -X POST "https://example.com/tokens/authenticate" \ -H "Content-Type: application/json" \ -d '{}'[ { "caveats": { "caveats": [ {} ] }, "header": "string", "nonce": { "kid": [ 0 ], "proof": true, "rnd": [ 0 ] }, "permission_token": [ 0 ] }]{ "details": {}, "error": "string", "status": "unknown"}