Tokens
Request an OIDC token
Changed onRequest an Open ID Connect token for your machine. Customize the audience claim with the aud parameter. This returns a JWT token. Learn more about using OpenID Connect on Fly.io.
post/v1/tokens/oidc
Request
- Base URLhttps://api.machines.dev
- URLhttps://api.machines.dev/v1/tokens/oidc
- AuthHTTP bearer
Request body
Example request
{
"aud": "https://fly.io/org-slug"
}Response
OIDC token
Changes
- warning
added the new
volume_placement_capacityenum value to theresponse property for the response status
- warning
- warning
added the new
name_takenenum value to theresponse property for the response status
- warning