Replaces the content of one file in a deployment request, or deletes the file in the target, without changing either branch.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
An override replaces the content of one of a deployment's files with an edited version, or deletes the file in the target, in that deployment only. Neither branch changes.
This sets the override of one file and keeps the overrides of the others. Send the complete new content in text, not a patch; read the current versions with Get a deployment file first. Setting an override on a file that already has one replaces it.
Changing what a deployment deploys rebuilds and re-validates it and resets its reviews. The change is refused while the deployment is deploying, and once it is approved under a branch rule that blocks changes after approval.
The caller needs permission to create deployments into the target branch. To drop an override, see Remove a file override.
