Managed
Managed Contacts List
https://api.linode.com/v4/managed/contacts
Returns a paginated list of Managed Contacts on your Account.
This command can only be accessed by the unrestricted users of an account.
Query Parameters
The page of a collection to return.
The number of items to return per page.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/managed/contacts
Response Samples
- 200
- default
{
"data": [
{
"id": "",
"updated": "2018-01-01T00:01:01",
"email": "john.doe@example.org",
"group": "on-call",
"name": "John Doe",
"phone": {
"primary": "123-456-7890",
"secondary": ""
}
}
],
"page": 1,
"pages": 1,
"results": 1
}
Responses
200: A paginated list of ManagedContacts
This Contact's unique ID.
When this Contact was last updated.
The address to email this Contact to alert them of issues.
A grouping for this Contact. This is for display purposes only.
The name of this Contact.
Information about how to reach this Contact by phone.
This Contact's primary phone number.
This Contact's secondary phone number.
The current page.
The total number of pages.
The total number of results.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.
Managed Contact Create
https://api.linode.com/v4/managed/contacts
Creates a Managed Contact. A Managed Contact is someone Linode special forces can contact in the course of attempting to resolve an issue with a Managed Service.
This command can only be accessed by the unrestricted users of an account.
Request Body Schema
The address to email this Contact to alert them of issues.
A grouping for this Contact. This is for display purposes only.
The name of this Contact.
Information about how to reach this Contact by phone.
This Contact's primary phone number.
This Contact's secondary phone number.
Request Samples
- Shell
- CLI
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X POST -d '{
"name": "John Doe",
"email": "john.doe@example.org",
"phone": {
"primary": "123-456-7890",
"secondary": null
},
"group": "on-call"
}' \
https://api.linode.com/v4/managed/contacts
Response Samples
- 200
- default
{
"updated": "2018-01-01T00:01:01",
"id": 1234,
"email": "john.doe@example.org",
"group": "on-call",
"name": "John Doe",
"phone": {
"primary": "123-456-7890",
"secondary": ""
}
}
Responses
200: Contact created.
When this Contact was last updated.
This Contact's unique ID.
The address to email this Contact to alert them of issues.
A grouping for this Contact. This is for display purposes only.
The name of this Contact.
Information about how to reach this Contact by phone.
This Contact's primary phone number.
This Contact's secondary phone number.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.