Set Possible Task State

This endpoint allows an admin user to activate or deactivate a possible task.

POST/PossibleTask/SetPossibleTaskState

Authorization

AuthorizationRequiredBearer <token>

Authorization header using the Bearer scheme. Example: "Bearer {token}"

In: header

Query Parameters

TaskIdstring

The ID of the task to be updated, which must not be empty.

Format: "uuid"
Stateboolean

A boolean indicating whether the task should be active (true) or inactive (false).

curl -X POST "https://example.com/PossibleTask/SetPossibleTaskState?TaskId=497f6eca-6276-4993-bfeb-53cbbbba6f08&State=true" \
  -H "Authorization: Bearer <token>"

NoContent if the task state is successfully updated.