You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "This operation deletes a VLAN. You can't delete a VLAN if it's still attached to a Linode. There are a few ways to detach it:\n- [Update](https://techdocs.akamai.com/linode-api/reference/put-linode-config) the active configuration profile to remove the VLAN interface, then [reboot](https://techdocs.akamai.com/linode-api/reference/post-reboot-linode-instance) the Linode.\n- [Create a config profile](https://techdocs.akamai.com/linode-api/reference/post-add-linode-config) without the VLAN interface, then [reboot](https://techdocs.akamai.com/linode-api/reference/post-reboot-linode-instance) the Linode into the new configuration profile.\n- [Delete](https://techdocs.akamai.com/linode-api/reference/delete-linode-instance) the Linode.\n\nTo run this operation, you need `read_write` grants to Linodes that use the VLAN.\n\nA successful request triggers a `vlan_delete` event.\n\n> \U0001F4D8\n>\n> VLANs without any attached Linodes are periodically cleaned up by the system.\n\n\n<<LB>>\n\n---\n\n\n- __CLI__.\n\n ```\n linode-cli vlans delete $regionId $label\n ```\n\n [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/)\n\n- __OAuth scopes__.\n\n ```\n linodes:read_write\n ```\n\n [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)"
67001
+
externalDocs:
67002
+
description: See documentation for this operation in Akamai's Linode API
description: The API responds with an empty object.
67012
+
maxProperties: 0
67013
+
type: object
67014
+
x-example:
67015
+
x-ref: ../examples/delete-vlan-200.json
67016
+
description: The VLAN was deleted.
67017
+
default:
67018
+
content:
67019
+
application/json:
67020
+
schema:
67021
+
additionalProperties: false
67022
+
properties:
67023
+
errors:
67024
+
items:
67025
+
additionalProperties: false
67026
+
description: An object for describing a single error that occurred during the processing of a request.
67027
+
properties:
67028
+
field:
67029
+
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.
67030
+
example: fieldname
67031
+
type: string
67032
+
reason:
67033
+
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.
67034
+
example: fieldname must be a valid value
67035
+
type: string
67036
+
type: object
67037
+
type: array
67038
+
type: object
67039
+
description: See [Errors](https://techdocs.akamai.com/linode-api/reference/errors) for the range of possible error response codes.
0 commit comments