File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,25 @@ endpoints:
211
211
curl : |
212
212
curl -H "Authorization: Bearer $TOKEN" \
213
213
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": null,
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
214
233
DELETE :
215
234
description : >
216
235
Deletes this service.
You can’t perform that action at this time.
0 commit comments