Skip to main content
POST
Validate container config

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

containers.validate

Body

application/json
repo
string
required

GitHub owner/repo.

tag
string
required
instance_name
string

Name of the container to be created. Required for keys restricted to container names, and both it and repo must match the key's restrictions. Ignored when update_container_id or replace_container_id is set; authorization then uses that container's name.

update_container_id
string<uuid>

Container being updated; skips the container limit.

replace_container_id
string<uuid>

Container being replaced; skips the container limit.

Response

Validation result

valid
boolean
required
limits
object
required
current
object
required
errors
object[]
warnings
object[]
config
object

Dashboard-editable view of tinfoil-config.yml.

env_vars
object[]

Environment variables the config's containers declare.