API Reference background-services

Stop a service

POST/projects/{project_id}/services/{service_id}/stop

Disable a service — no further runs fire until started again. Returns 202.

Request

curl -X POST "$ALLYBUILD_API_URL/projects/$PROJECT_ID/services/$SERVICE_ID/stop" \
  -H "Authorization: Bearer $TASK_JWT" \
  -H "Content-Type: application/json"