Skip to main content

Drain an agent

POST 

/agent/:hostname/drain

Stop the agent from accepting new jobs. In-flight jobs continue to completion.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty and <= 255 characters

    The hostname of the agent to drain.

Responses

Agent drain initiated.

Schema

    message stringrequired
Loading...