Skip to content

Adds managed/services/$id/enable and disable endpoint documentation #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 4, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/data/endpoints/managed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,40 @@ endpoints:
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE
https://$api_root/$version/managed/services/$service_id
/managed/services/$id/enable:
group: Services
type: Action
authenticated: true
description: >
Enables a Managed service your account may access.
methods:
POST:
description: >
Enables this Managed service. Will only enable if it is currently
disabled. An enabled service is actively monitored.
examples:
curl: |
curl -H "Authorization: Bearer $TOKEN" \
-X POST
https://$api_root/$version/managed/services/$service_id/enable
/managed/services/$id/disable:
group: Services
type: Action
authenticated: true
description: >
Disables a Managed service your account may access.
methods:
POST:
description: >
Disables this Managed service. Will only disable if it is currently
enabled. Linode Managed will not resume monitoring this service until
you reenable monitoring. For more information, see
https://www.linode.com/docs/platform/linode-managed/#temporarily-disabling-service-monitoring
examples:
curl: |
curl -H "Authorization: Bearer $TOKEN" \
-X POST
https://$api_root/$version/managed/services/$service_id/disable
/managed/credentials:
group: Credentials
type: resource
Expand Down