Update app secrets belonging to an app
Running Machines don’t pick up the change on their own: create or update Machines with min_secrets_version set to the returned version for them to see it.
Authorizations
A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.
Path Parameters
Fly App Name
Body
Update app secret request, with values to set, or nil to unset
Secrets to change, keyed by name. A string value sets the secret; null deletes it. Names may only contain letters, digits, and underscores. Secrets not listed are left alone.
Response
OK
Same value as version.
Deprecated: use version.
The secrets from the request, with their new values and digests; deleted secrets only have a name.
The app's secrets version after this change. Pass it as min_secrets_version when creating or
updating Machines so that they are guaranteed to see the change.