Appearance
project/removejob
Unlinks one or more jobs from a project.
Method and path
POST /project/removejob
Authentication
Authentication is required. See Authentication.
Permissions
Accessible to tier 1 and 2 users.
Request headers
| Header | Required | Description |
|---|---|---|
X-Api-Key or X_API_KEY | yes | API key. |
Content-Type | yes | application/json. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
project_id | integer | yes | Project identifier. |
job_id | integer | array<integer> | yes |
Example request
bash
curl -X POST "$SIGNAL_API_BASE_URL/project/removejob" \
-H "X-Api-Key: $SIGNAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"project_id": 123, "job_id": [456, 457]}'json
{
"project_id": 123,
"job_id": [456, 457]
}Example response
json
{}Response fields
This endpoint returns an empty JSON object on success.
Notes
- If a detached job is no longer linked to any project, it is deactivated automatically.
- Some validation failures are returned as HTTP
200with an error object.