Skip to main content
PUT
Attach volume

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

volumes.attach

Path Parameters

id
string<uuid>
required
slot
string
required

Volume mount name declared in the container's tinfoil-config.yml.

Body

application/json
volume_id
string<uuid>
required
tag
string

Release whose config declares the mount, for attaching ahead of deploying a new version. Defaults to the container's saved config. Not accepted for config registry deployments.

Response

Volume attached