Remove a file from a template’s bundle
Takes a file out of this template’s bundle. The file itself stays in your template library — this only unlinks it.
Removing the file that main names would leave the template unrenderable, so that answers 422 unless the same call names the new entry point with ?main=.
Learn more: Compose
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
idOrSlug
fileId
Query parameters
main
Response
The updated template config.
object
id
slug
name
capability
config
updatedAt
Errors
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error