---
updatedAt: 2026-03-01T18:10:11.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/api-definitions/llms.txt
---

# Delete a resource operation

Remove a specific resource operation.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's API Endpoint Definition API",
    "url": "https://techdocs.akamai.com/api-definitions/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Resources and operations",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "paths": {
    "/endpoints/{endpointId}/versions/{versionNumber}/resources/{apiResourceId}/operations/{operationId}": {
      "delete": {
        "description": "Remove a specific resource operation.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's API Endpoint Definition API",
          "url": "https://techdocs.akamai.com/api-definitions/reference/delete-resource-operation"
        },
        "operationId": "delete-resource-operation",
        "parameters": [
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "Successful response."
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "You have insufficient permissions to perform this action. Ensure that you have the correct permissions set in Identity and Access Management.",
                  "instance": "2602aedd-38a9-41c3-a607-8a6ad8129e6b",
                  "status": 403,
                  "title": "Forbidden",
                  "type": "/api-definitions/error-types/forbidden"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Contains debugging information for error responses.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "errors": {
                      "description": "Nested error responses.",
                      "items": {
                        "description": "A further nested problem detail object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-recurse.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "instance": {
                      "description": "The non-referenceable URL for the error instance.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "The title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Forbidden](https://techdocs.akamai.com/api-definitions/reference/403). You don't have permission to access the resource.",
            "x-akamai": {
              "file-path": "errors/403.yaml"
            }
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Resource operation with id [1234] does not exist.",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/43667dca3dc2da02",
                  "status": 404,
                  "title": "Not Found",
                  "type": "https://problems.luna.akamaiapis.net/appsec/error-types/NOT-FOUND"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Provides details on the data object that reflects the API’s common response to error cases, and lists the API’s range of response status codes for both error and success cases.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "errors": {
                      "description": "Detailed error messages provided by the server.",
                      "items": {
                        "description": "A nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "fieldErrors": {
                      "additionalProperties": {
                        "description": "Additional error details.",
                        "items": {
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": true
                      },
                      "description": "Pointers to fields with invalid input. Values are messages that explain why the input is invalid.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The URI that indicates the error instance.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "The name of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "status",
                    "title",
                    "detail",
                    "instance"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "[Not found](https://techdocs.akamai.com/api-definitions/reference/404). The requested resource operation doesn't exist.",
            "x-akamai": {
              "file-path": "errors/404-resource.yaml"
            }
          }
        },
        "summary": "Delete a resource operation",
        "tags": [
          "Resource operations"
        ]
      },
      "parameters": [
        {
          "description": "Identifies an endpoint.",
          "in": "path",
          "name": "endpointId",
          "required": true,
          "schema": {
            "example": 77653,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/endpoint-id.yaml"
          }
        },
        {
          "description": "The endpoint's version.",
          "in": "path",
          "name": "versionNumber",
          "required": true,
          "schema": {
            "example": 25,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/version-number.yaml"
          }
        },
        {
          "description": "Identifies a resource.",
          "in": "path",
          "name": "apiResourceId",
          "required": true,
          "schema": {
            "example": 2143,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/api-resource-id.yaml"
          }
        },
        {
          "description": "Identifies an operation.",
          "in": "path",
          "name": "operationId",
          "required": true,
          "schema": {
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "maxLength": 36,
            "minLength": 36,
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/operation-id.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/operation.yaml",
        "path-info": "/endpoints/{endpointId}/versions/{versionNumber}/resources/{apiResourceId}/operations/{operationId}"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/api-definitions/v2"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "05-resource-operations.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Create a resource operation](https://techdocs.akamai.com/api-definitions/reference/post-resource-operation.md)
* [List resource operations](https://techdocs.akamai.com/api-definitions/reference/get-resource-operations.md)
* [Get a resource operation](https://techdocs.akamai.com/api-definitions/reference/get-resource-operation.md)
* [Update a resource operation](https://techdocs.akamai.com/api-definitions/reference/put-resource-operation.md)