---
updatedAt: 2026-06-08T17:24:49.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/linode-api/llms.txt
---

# Enable a managed service monitor

Enables monitoring of a service on a managed Linode. To learn more about service monitors, see [Create and edit service monitors for Linode Managed](https://techdocs.akamai.com/cloud-computing/docs/create-and-edit-service-monitors-for-linode-managed).

This operation can only be accessed by the unrestricted users of an account.


**Permissions and scopes**

To call this operation, you need the following:

- **OAuth scopes**. Your user needs these scopes assigned. [Learn more](https://techdocs.akamai.com/linode-api/reference/get-started#oauth).

  - Scopes: `account:read_write`


**CLI**

```shell
linode-cli managed service-enable 9994
```

[Learn more](https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli)

# OpenAPI definition

````json
{
  "components": {
    "securitySchemes": {
      "oauth": {
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://login.linode.com/oauth/authorize",
            "scopes": {
              "account:read_only": "Allows access to GET information about your account.",
              "account:read_write": "Allows access to all endpoints related to your account.",
              "child_account:read_only": "Allows access to GET information about deprecated parent/child operations.",
              "child_account:read_write": "Allows access to deprecated parent/child operations.",
              "databases:read_only": "Allows access to GET information about databases.",
              "databases:read_write": "Allows access to all endpoints related to databases.",
              "domains:read_only": "Allows access to GET Domains on your account.",
              "domains:read_write": "Allows access to all Domain endpoints.",
              "events:read_only": "Allows access to GET your Events.",
              "events:read_write": "Allows access to all endpoints related to your Events.",
              "firewall:read_only": "Allows access to GET information about your Firewalls.",
              "firewall:read_write": "Allows access to all Firewall endpoints.",
              "images:read_only": "Allows access to GET your Images.",
              "images:read_write": "Allows access to all endpoints related to your Images.",
              "ips:read_only": "Allows access to GET your ips.",
              "ips:read_write": "Allows access to all endpoints related to your ips.",
              "linodes:read_only": "Allows access to GET Linodes on your account.",
              "linodes:read_write": "Allow access to all endpoints related to your Linodes.",
              "lke:read_only": "Allows access to GET LKE Clusters on your account.",
              "lke:read_write": "Allows access to all endpoints related to LKE Clusters on your account.",
              "longview:read_only": "Allows access to GET your Longview Clients.",
              "longview:read_write": "Allows access to all endpoints related to your Longview Clients.",
              "monitor:read_only": "Allows access to Monitor (Akamai Cloud Pulse) data.",
              "monitor:read_write": "Allows access to GET Monitor (Akamai Cloud Pulse) data.",
              "nodebalancers:read_only": "Allows access to GET NodeBalancers on your account.",
              "nodebalancers:read_write": "Allows access to all NodeBalancer endpoints.",
              "object_storage:read_only": "Allows access to GET information related to your Object Storage.",
              "object_storage:read_write": "Allows access to all Object Storage endpoints.",
              "stackscripts:read_only": "Allows access to GET your StackScripts.",
              "stackscripts:read_write": "Allows access to all endpoints related to your StackScripts.",
              "volumes:read_only": "Allows access to GET your Volumes.",
              "volumes:read_write": "Allows access to all endpoints related to your Volumes.",
              "vpc:read_write": "Allows access to all endpoints related to VPC and Subnet creation, updating, and deletion."
            },
            "tokenUrl": "https://login.linode.com/oauth/token"
          }
        },
        "type": "oauth2"
      },
      "personalAccessToken": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "externalDocs": {
    "description": "See documentation for Akamai's Linode API",
    "url": "https://techdocs.akamai.com/linode-api/reference"
  },
  "info": {
    "description": "\"[Read the API documentation](https://techdocs.akamai.com/linode-api/reference/api).\"",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Managed",
    "version": "4.229.1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/{apiVersion}/managed/services/{serviceId}/enable": {
      "post": {
        "description": "Enables monitoring of a service on a managed Linode. To learn more about service monitors, see [Create and edit service monitors for Linode Managed](https://techdocs.akamai.com/cloud-computing/docs/create-and-edit-service-monitors-for-linode-managed).\n\nThis operation can only be accessed by the unrestricted users of an account.\n\n\n**Permissions and scopes**\n\nTo call this operation, you need the following:\n\n- **OAuth scopes**. Your user needs these scopes assigned. [Learn more](https://techdocs.akamai.com/linode-api/reference/get-started#oauth).\n\n  - Scopes: `account:read_write`\n\n\n**CLI**\n\n```shell\nlinode-cli managed service-enable 9994\n```\n\n[Learn more](https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli)",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Linode API",
          "url": "https://techdocs.akamai.com/linode-api/reference/post-enable-managed-service"
        },
        "operationId": "post-enable-managed-service",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "address": "https://example.org",
                  "body": "it worked",
                  "consultation_group": "on-call",
                  "created": "2018-01-01T00:01:01",
                  "credentials": [
                    9991
                  ],
                  "id": 9944,
                  "label": "prod-1",
                  "notes": "The service name is my-cool-application",
                  "region": null,
                  "service_type": "url",
                  "status": "ok",
                  "timeout": 30,
                  "updated": "2018-03-01T00:01:01"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "A service that Linode is monitoring as part of your Managed services. If issues are detected with this service, a ManagedIssue will be opened and, optionally, Linode special forces will attempt to resolve the Issue.",
                  "properties": {
                    "address": {
                      "description": "The URL at which this Service is monitored. URL parameters such as `?no-cache=1` are preserved. URL fragments/anchors such as `#monitor` are __not__ preserved.",
                      "example": "https://example.org",
                      "format": "url",
                      "maxLength": 100,
                      "minLength": 3,
                      "type": "string",
                      "x-linode-cli-display": 5
                    },
                    "body": {
                      "description": "What to expect to find in the response body for the Service to be considered up.",
                      "example": "it worked",
                      "maxLength": 100,
                      "minLength": 0,
                      "nullable": true,
                      "type": "string"
                    },
                    "consultation_group": {
                      "description": "The group of ManagedContacts who should be notified or consulted with when an Issue is detected.",
                      "example": "on-call",
                      "maxLength": 50,
                      "minLength": 0,
                      "type": "string",
                      "x-linode-cli-display": 6
                    },
                    "created": {
                      "description": "__Read-only__ When this Managed Service was created.",
                      "example": "2018-01-01T00:01:01",
                      "readOnly": true,
                      "type": "string"
                    },
                    "credentials": {
                      "description": "An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service.",
                      "items": {
                        "example": 9991,
                        "type": "integer"
                      },
                      "type": "array"
                    },
                    "id": {
                      "description": "__Read-only__ This Service's unique ID.",
                      "example": 9944,
                      "readOnly": true,
                      "type": "integer",
                      "x-linode-cli-display": 1
                    },
                    "label": {
                      "description": "The label for this Service. This is for display purposes only.",
                      "example": "prod-1",
                      "maxLength": 64,
                      "minLength": 3,
                      "pattern": "[a-zA-Z0-9-_ \\.]{3,64}",
                      "type": "string",
                      "x-linode-cli-display": 4
                    },
                    "notes": {
                      "description": "Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues.",
                      "example": "The service name is my-cool-application",
                      "nullable": true,
                      "type": "string"
                    },
                    "region": {
                      "description": "The Region in which this Service is located. This is required if address is a private IP, and may not be set otherwise.",
                      "example": null,
                      "nullable": true,
                      "type": "string"
                    },
                    "service_type": {
                      "description": "How this Service is monitored, either `url` or `tcp`.",
                      "enum": [
                        "url",
                        "tcp"
                      ],
                      "example": "url",
                      "type": "string",
                      "x-linode-cli-display": 3
                    },
                    "status": {
                      "description": "__Read-only__ The current status of this Service, either `ok`, `disabled`, `pending`, or `problem`.",
                      "enum": [
                        "disabled",
                        "pending",
                        "ok",
                        "problem"
                      ],
                      "example": "ok",
                      "readOnly": true,
                      "type": "string",
                      "x-linode-cli-color": {
                        "default_": "yellow",
                        "disabled": "red",
                        "ok": "green"
                      },
                      "x-linode-cli-display": 2
                    },
                    "timeout": {
                      "description": "How long to wait, in seconds, for a response before considering the Service to be down.",
                      "example": 30,
                      "maximum": 255,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "updated": {
                      "description": "__Read-only__ When this Managed Service was last updated.",
                      "example": "2018-03-01T00:01:01",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/managed-service.yaml"
                  }
                }
              }
            },
            "description": "Service enabled."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "errors": [
                    {
                      "reason": "Invalid JSON"
                    }
                  ]
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "errors": {
                      "description": "Any warnings associated with a response.",
                      "items": {
                        "additionalProperties": false,
                        "description": "An object for describing a single error that occurred during the processing of a request.",
                        "properties": {
                          "field": {
                            "description": "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.",
                            "example": "fieldname",
                            "type": "string"
                          },
                          "reason": {
                            "description": "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](https://techdocs.akamai.com/linode-api/reference/post-ticket) or perform some other action before you can complete the request successfully.",
                            "example": "fieldname must be a valid value",
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/error-object.yaml"
                        }
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "See [Errors](https://techdocs.akamai.com/linode-api/reference/errors) for the range of possible error response codes."
          }
        },
        "security": [
          {
            "personalAccessToken": []
          },
          {
            "oauth": [
              "account:read_write"
            ]
          }
        ],
        "summary": "Enable a managed service monitor",
        "tags": [
          "Managed service monitors"
        ],
        "x-akamai": {
          "tabs": [
            {
              "syntax": "linode-cli managed service-enable 9994",
              "title": "CLI",
              "url": "https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli"
            },
            {
              "syntax": "account:read_write",
              "title": "OAuth scopes",
              "url": "https://techdocs.akamai.com/linode-api/reference/get-started#oauth"
            }
          ]
        },
        "x-linode-cli-action": "service-enable",
        "x-linode-grant": "unrestricted only"
      },
      "parameters": [
        {
          "description": "__Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.",
          "in": "path",
          "name": "apiVersion",
          "required": true,
          "schema": {
            "enum": [
              "v4",
              "v4beta"
            ],
            "example": "v4",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/api-version-path.yaml"
          }
        },
        {
          "description": "The ID of the Managed Service to enable.",
          "in": "path",
          "name": "serviceId",
          "required": true,
          "schema": {
            "example": 429,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/service-id-path-ea3ecd21.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/managed-service-monitor-enable.yaml",
        "path-info": "/{apiVersion}/managed/services/{serviceId}/enable"
      },
      "x-linode-cli-command": "managed"
    }
  },
  "servers": [
    {
      "url": "https://api.linode.com"
    }
  ],
  "tags": [
    {
      "description": "Create and configure the service monitors that are used to check the health of your managed Linodes.",
      "name": "Managed service monitors"
    }
  ],
  "x-akamai": {
    "auth-type": "OAUTH",
    "file-path": "managed.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
````

# Sibling pages

* [Create a managed service](https://techdocs.akamai.com/linode-api/reference/post-managed-service.md)
* [List managed services](https://techdocs.akamai.com/linode-api/reference/get-managed-services.md)
* [Get a managed service monitor](https://techdocs.akamai.com/linode-api/reference/get-managed-service.md)
* [Update a managed service monitor](https://techdocs.akamai.com/linode-api/reference/put-managed-service.md)
* [Delete a managed service monitor](https://techdocs.akamai.com/linode-api/reference/delete-managed-service.md)
* [Disable a managed service monitor](https://techdocs.akamai.com/linode-api/reference/post-disable-managed-service.md)