ObjectiveService
Objectives
Cancel an objective
Changed onCancels a running or pending objective. The objective's state will be set to STATE_CANCELLED.
post/v1/workspaces/{workspaceId}/objectives/{objectiveId}:cancel
Request
- Base URLhttps://api.cadenya.com
- URLhttps://api.cadenya.com/v1/workspaces/{workspaceId}/objectives/{objectiveId}:cancel
- AuthHTTP bearer
Path parameters
workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
objectiveIdstring required
Example:obj_01HXKD2E5NQM3T9AYWCFQAZGFV
The ID of the objective. Supports "external_id:" prefix for external IDs.
Request body
Example request
{
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"objectiveId": "obj_01HXKD2E5NQM3T9AYWCFQAZGFV"
}Response
OK
Changes
- info
added the optional property
/////to the response with the status
- info
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
to the response with the status
- info