Jobs /
Set job Docker entrypoint override
Sets the Docker entrypoint override for the given job.
Required permission
Project > Jobs > General > Update
Path parameters
projectId
string requiredID of the project
jobId
string requiredID of the job
Request body
- {object}
entrypointOverride
stringIf set, the service runs a custom entrypoint rather than one defined in the Dockerfile.
Response body
- {object}
Response object.
data
{object} requiredResult data.
API
CLI
JS Client
POST /v1/projects/{projectId}/jobs/{jobId}/entrypoint-override
Example request
Request body
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"entrypointOverride":"/custom-entrypoint.sh"}' \
http://api.northflank.com/v1/projects/{projectId}/jobs/{jobId}/entrypoint-override
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}