Skip to main content

Add an task item

POST 

/task

Add a new task item.

Request

Body

required

The task item to add.

    body

    object

    required

    JSON representation of the task item.

    type stringrequired

    Possible values: [dns, shutdown]

    The type of task action to perform.

    data objectrequired

    The action-specific data.

Responses

The task item was added successfully.

Schema

    id uint64

    Unique identifier of the task item.

Loading...