Skip to content

Commit 44919b3

Browse files
author
Josh Sager
committed
new: Added PUT /managed/services/$id
1 parent b7fd112 commit 44919b3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/data/endpoints/managed.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,25 @@ endpoints:
211211
curl: |
212212
curl -H "Authorization: Bearer $TOKEN" \
213213
https://$api_root/$version/managed/services/$service_id
214+
PUT:
215+
description: >
216+
Edits this Managed service.
217+
examples:
218+
curl: |
219+
curl -H "Content-Type: application/json" \
220+
-H "Authorization: Bearer $TOKEN" \
221+
-X PUT -d '{
222+
"label": "NewerMonitor",
223+
"service_type": "url",
224+
"address": "http://monitor2.example.org",
225+
"timeout": 60,
226+
"consultation_group": "DevOps",
227+
"region": "us-east-1a",
228+
"body": "It is working.",
229+
"notes": "Please contact us if the Linode must be rebooted",
230+
"credentials": 23456,34567,45678
231+
}' \
232+
https://$api_root/$version/managed/credentials/$credential_id
214233
DELETE:
215234
description: >
216235
Deletes this service.

0 commit comments

Comments
 (0)