Deprecated
This endpoint is deprecated and will be removed in the future. Please avoid making requests to this endpoint.
Requests should instead use the relevant PATCH endpoint.
Required permission
Project > Jobs > General > Update
Path parameters
projectId
string requiredID of the projectjobId
string requiredID of the job
Request body
- {object}
suspended
booleanIn the case of cron jobs, whether scheduling should be paused.
Response body
- {object}Response object.
data
{object} requiredResult data.
POST /v1/projects/{projectId}/jobs/{jobId}/suspend
POST /v1/teams/{teamId}/projects/{projectId}/jobs/{jobId}/suspend
Example request
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"suspended":true}' \
https://api.northflank.com/v1/projects/{projectId}/jobs/{jobId}/suspendExample response
200 OK
JSON
{
"data": {}
}Example response
409 Conflict