Skip to Content
Docs

Pause, resume or cancel one of the caller's monitors

POST
/api/monitors/{monitor_id}/{action}

Pause, resume or cancel one of the caller's monitors. Cancelling revokes its links and any approval its source was given; resuming a polled monitor checks it again right away. 409 when the monitor is not in a state the action applies to.

Personal access token scope: conversations:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

action*string

pause, resume or cancel

monitor_id*string

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/monitors/string/string'
Example Response200
Empty