MonitorsSsh monitors
Delete SSH Monitor
Deletes an SSH monitor.
DELETE /api/ssh-monitors/:sshMonitorPublicId
Authentication
Requires a valid session and write access.
- Header:
Authorization: Bearer <token>
Parameters
sshMonitorPublicId(Path, required): SSH monitor public UUID.
cURL
curl -X DELETE "https://YOUR_DOMAIN/api/ssh-monitors/44444444-4444-4444-8444-444444444444" \
-H "Authorization: Bearer $TOKEN"Response
{ "success": true }Errors
400SSH monitor public ID (UUID) required401Unauthorized403Forbidden (readonlyMayNotDeletefor a read-only caller,managed_by_organizationfor a managed resource withoutcanEditManaged)404Not found
Permissions
Closed to the readonly role. A read-only login deletes no monitor, whatever its ownership class,
and neither does an API token it issued: a token inherits the role of the user who created it.
Editing a self_service monitor stays open to that role.
A customer-scoped caller is bound by ownership class on top of that: a managed monitor is refused
with managed_by_organization unless its customer carries canEditManaged.