tasks/delete

DELETE/scheduled-agents/{scheduled_agent_id}

Delete a Task. Requires the scheduled-agents feature, editor access, and the configuration:write permission.

Request

cURL
curl -X DELETE "https://provisioning.cloudx.io/api/v1/scheduled-agents/{scheduled_agent_id}" \
  -H "Authorization: Bearer $CLOUDX_API_KEY"

Path parameters

NameTypeDescription
scheduled_agent_idrequiredstringTask ID.

Responses

Task deleted.
null

204 Task deleted.

401 Unauthorized.

FieldTypeDescription
errorrequiredstring

403 Forbidden or feature unavailable.

FieldTypeDescription
errorrequiredstring

404 Task not found.

FieldTypeDescription
errorrequiredstring

409 Task has an active run.

FieldTypeDescription
errorrequiredstring

500 Internal server error.

FieldTypeDescription
errorrequiredstring