Update API version
Upgrades the account’s pinned version, or rolls it back to the version it replaced within 72 hours of the upgrade. Test a version on a single request with the Paid-Version header before changing the pin. Requires a full-access key.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Request
Body
version
A newer version to upgrade to, or the previous version to roll back to within 72 hours of an upgrade.
Response
200
object
The type of object. Always api_version.
Allowed values:
available
Every released version, oldest first.
latest
The newest released version.
pinned
The version applied to requests that don’t send a Paid-Version header.
pinnedAt
When the pin last changed. Null while the account is on the version current at signup.
previous
The version the last upgrade replaced, while it can still be rolled back to.
rollbackAvailableUntil
Until this time the pin can be set back to previous. Null when no rollback is possible.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error