Set Possible Task State

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

POST
/PossibleTask/SetPossibleTaskState
AuthorizationBearer <token>

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

In: header

Query Parameters

TaskId?string

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

Formatuuid
State?boolean

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

Response Body

curl -X POST "https://loading/PossibleTask/SetPossibleTaskState"
Empty
Empty
Empty
Empty
Empty