cURL
curl --request POST \ --url https://eu1.api.matillion.com/dpc/v1/agents/{agentId}/commands \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "command": "RESTART" } '
{ "type": "https://api.matillion.com/problems/bad-request", "title": "Bad Request", "status": 400, "detail": "Failed to read request. Please check your request body.", "instance": "/v1/agents/{agentId}/commands" }
The command to be triggered.
Available commands are:
a valid bearer token
The command being sent
RESTART
PAUSE
RESUME
"RESTART"
Agent command received successfully
Was this page helpful?