Skip to main content
PATCH
Set config revision renewal

Authorizations

Authorization
string
header
required

An admin API key. Personal admin keys reach the API key, billing and Account endpoints for the creator's personal account; the other endpoints need an organization admin key. Security requirement entries list the permission a scoped key needs for the operation.

Scopes

config-registry.renew

Path Parameters

id
string<uuid>
required

Body

application/json
auto_renew
boolean
required

Response

Revision after the change

id
string<uuid>
required
name
string
required
digest
string
required

Hex SHA-256 digest of the config.

private
boolean
required
scope
string
required

Registry scope the endorsement names; https://registry.tinfoil.sh/scopes/public for public revisions, otherwise the owner's private scope.

auto_renew
boolean
required
approved
boolean
required

False once the revision is withdrawn.

source
object

The repository file and commit a revision was published from, with the state of the commit's checks when it was read. Present only on revisions published from a commit, and only to the revision's owner.

published_with_key
object

The admin key a revision was published with. Present only when an admin key published it, and only to the revision's owner.