Set a file override

Replaces the content of one file in a deployment request, or deletes the file in the target, without changing either branch.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

Path Params
int32
required

The numeric identifier of the Deployment Request.

Body Params
string
required

One of the deployment's files.

string

The complete content to deploy instead of the source version. Required unless deleted is true.

boolean

true deletes the file in the target instead. Do not send text with it.

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json