Skip to main content
POST
Upload an enterprise blueprint file

Permissions

Requires a service user with the ManageAccountSnapshots permission at the enterprise level.

Behavior

Uploads a file to the enterprise blueprint. Files are referenced in the blueprint YAML and made available during snapshot builds.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

blueprint_id
string
required

Query Parameters

name
string
required

Body

multipart/form-data
file
string
required

Response

Successful Response

Public BlueprintFile resource shape.

blueprint_id
string
required
created_at
integer
required
env_var_name
string
required
file_id
string
required
name
string
required
size_bytes
integer
required
updated_at
integer
required