---
updatedAt: 2026-04-20T19:22:26.000Z
---

# Delete an origin

This operation removes the association of an origin server from the specified content provider.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Content Delivery",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{hostname}/api/content-delivery/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth_v2": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.\n",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/api/identity/v1/oauth/authorize",
            "tokenUrl": "/api/identity/v1/oauth/token",
            "scopes": {
              "coblitz.co": "d",
              "coblitz.nsp": "d",
              "coblitz.cp": "d"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/content-providers/{contentProviderId}/origins/{originId}": {
      "delete": {
        "operationId": "delete-origins-origin",
        "summary": "Delete an origin",
        "description": "This operation removes the association of an origin server from the specified content provider.",
        "responses": {
          "204": {
            "description": "The Origin was successfully deleted.\n"
          },
          "400": {
            "description": "An HTTP 400 will be returned if the request could not be processed.  For example, if another entity is referring to this entity, and the delete could not be processed.\n"
          },
          "403": {
            "description": "An HTTP 403 will be returned if the principal is not authorized to access the instance of blocklist that the request was made against.\n",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Unauthorized access HTTP problem\n",
                  "allOf": [
                    {
                      "description": "Base HTTP problem type\n",
                      "properties": {
                        "status": {
                          "type": "integer",
                          "description": "Optionally specified HTTP status code\n"
                        },
                        "type": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string",
                          "description": "Human readable title of the class of problem that occurred.\n"
                        },
                        "detail": {
                          "type": "string",
                          "description": "Human readable description of the class of problem that occurred.\n"
                        },
                        "instance": {
                          "type": "string",
                          "description": "Unique identifier for an instance of a problem\n",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "type",
                        "instance"
                      ]
                    },
                    {
                      "properties": {
                        "entity": {
                          "description": "A summary of an entity involved in a problem.\n",
                          "properties": {
                            "entityType": {
                              "type": "string",
                              "description": "Name of the entity type.\n"
                            },
                            "entityId": {
                              "description": "Identifies the entity in question.\n"
                            },
                            "entityName": {
                              "type": "string",
                              "description": "Human readable name of the entity, if provided by the entity type.\n"
                            },
                            "entityHref": {
                              "type": "string",
                              "format": "uri",
                              "description": "URI pointing to the entity.\n"
                            }
                          },
                          "required": [
                            "entityType",
                            "entityId",
                            "entityHref"
                          ]
                        },
                        "permission": {
                          "type": "string",
                          "description": "The permission required to access the entity.\n"
                        }
                      }
                    }
                  ],
                  "required": [
                    "type",
                    "instance",
                    "entity",
                    "permission"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "An HTTP 404 will be returned if the <<resourcePathName | !singularize>> with the specified entityId is not found.\n",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entity not found HTTP problem.  Used when an attempt is made against an entity that does not exist.\n",
                  "allOf": [
                    {
                      "description": "Base HTTP problem type\n",
                      "properties": {
                        "status": {
                          "type": "integer",
                          "description": "Optionally specified HTTP status code\n"
                        },
                        "type": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string",
                          "description": "Human readable title of the class of problem that occurred.\n"
                        },
                        "detail": {
                          "type": "string",
                          "description": "Human readable description of the class of problem that occurred.\n"
                        },
                        "instance": {
                          "type": "string",
                          "description": "Unique identifier for an instance of a problem\n",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "type",
                        "instance"
                      ]
                    },
                    {
                      "properties": {
                        "entityType": {
                          "type": "string",
                          "description": "The type of entity.\n"
                        },
                        "entityId": {
                          "description": "Identifies the referenced entity.\n"
                        }
                      }
                    }
                  ],
                  "required": [
                    "type",
                    "instance",
                    "entityType",
                    "entityId"
                  ]
                },
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/errors#core.entity-not-found",
                  "title": "The requested entity could not be found",
                  "detail": "Node 5c84bf77-da56-4d06-8b24-02fc9c4635c6 does not exist",
                  "entityType": "Node",
                  "entityId": "5c84bf77-da56-4d06-8b24-02fc9c4635c6"
                }
              }
            }
          },
          "409": {
            "description": "An HTTP 409 will be returned if the blocklist offered for create/update would lead to a conflicting state.\n",
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/errors#core.entity-property-conflict",
                  "title": "The request has conflicting properties with existing configuration",
                  "detail": "An entity with property 'hostname' of 'test.akamai.com' already exists",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/v1/nodes#a4e84e37-ec37-4a13-83d7-ba1d75a36029",
                  "conflictingProperty": "#/hostname",
                  "conflictingValue": "test.akamai.com",
                  "conflictingEntity": {
                    "entityHref": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/platform/v1/nodes/809ab9b0-837f-47dd-b14b-2732dc34dfda",
                    "entityType": "Node",
                    "entityId": "809ab9b0-837f-47dd-b14b-2732dc34dfda"
                  }
                },
                "schema": {
                  "description": "Super type to enumerate 409 class errors.\n",
                  "anyOf": [
                    {
                      "description": "Entity property conflict HTTP problem.  Used when an attempt is made to set a property on an entity that would cause conflict with an existent entity.  For example, attempting to set duplicate surrogate identifiers.\n",
                      "allOf": [
                        {
                          "description": "Base HTTP problem type\n",
                          "properties": {
                            "status": {
                              "type": "integer",
                              "description": "Optionally specified HTTP status code\n"
                            },
                            "type": {
                              "type": "string",
                              "format": "uri"
                            },
                            "title": {
                              "type": "string",
                              "description": "Human readable title of the class of problem that occurred.\n"
                            },
                            "detail": {
                              "type": "string",
                              "description": "Human readable description of the class of problem that occurred.\n"
                            },
                            "instance": {
                              "type": "string",
                              "description": "Unique identifier for an instance of a problem\n",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "type",
                            "instance"
                          ]
                        },
                        {
                          "properties": {
                            "conflictingProperty": {
                              "type": "string"
                            },
                            "conflictingValue": {
                              "description": "The supplied value\n"
                            },
                            "conflictingEntity": {
                              "description": "A summary of an entity involved in a problem.\n",
                              "properties": {
                                "entityType": {
                                  "type": "string",
                                  "description": "Name of the entity type.\n"
                                },
                                "entityId": {
                                  "description": "Identifies the entity in question.\n"
                                },
                                "entityName": {
                                  "type": "string",
                                  "description": "Human readable name of the entity, if provided by the entity type.\n"
                                },
                                "entityHref": {
                                  "type": "string",
                                  "format": "uri",
                                  "description": "URI pointing to the entity.\n"
                                }
                              },
                              "required": [
                                "entityType",
                                "entityId",
                                "entityHref"
                              ]
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "conflictingProperty",
                        "conflictingValue",
                        "conflictingEntity"
                      ]
                    },
                    {
                      "description": "Entity referenced HTTP problem.  Used in cases where an attempt is made to delete an entity that other entities are referring to, and simply removing the reference would not lead to a valid state.\n",
                      "allOf": [
                        {
                          "description": "Base HTTP problem type\n",
                          "properties": {
                            "status": {
                              "type": "integer",
                              "description": "Optionally specified HTTP status code\n"
                            },
                            "type": {
                              "type": "string",
                              "format": "uri"
                            },
                            "title": {
                              "type": "string",
                              "description": "Human readable title of the class of problem that occurred.\n"
                            },
                            "detail": {
                              "type": "string",
                              "description": "Human readable description of the class of problem that occurred.\n"
                            },
                            "instance": {
                              "type": "string",
                              "description": "Unique identifier for an instance of a problem\n",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "type",
                            "instance"
                          ]
                        },
                        {
                          "properties": {
                            "referencedEntity": {
                              "description": "A summary of an entity involved in a problem.\n",
                              "properties": {
                                "entityType": {
                                  "type": "string",
                                  "description": "Name of the entity type.\n"
                                },
                                "entityId": {
                                  "description": "Identifies the entity in question.\n"
                                },
                                "entityName": {
                                  "type": "string",
                                  "description": "Human readable name of the entity, if provided by the entity type.\n"
                                },
                                "entityHref": {
                                  "type": "string",
                                  "format": "uri",
                                  "description": "URI pointing to the entity.\n"
                                }
                              },
                              "required": [
                                "entityType",
                                "entityId",
                                "entityHref"
                              ]
                            },
                            "referringEntities": {
                              "type": "array",
                              "items": {
                                "description": "A summary of an entity involved in a problem.\n",
                                "properties": {
                                  "entityType": {
                                    "type": "string",
                                    "description": "Name of the entity type.\n"
                                  },
                                  "entityId": {
                                    "description": "Identifies the entity in question.\n"
                                  },
                                  "entityName": {
                                    "type": "string",
                                    "description": "Human readable name of the entity, if provided by the entity type.\n"
                                  },
                                  "entityHref": {
                                    "type": "string",
                                    "format": "uri",
                                    "description": "URI pointing to the entity.\n"
                                  }
                                },
                                "required": [
                                  "entityType",
                                  "entityId",
                                  "entityHref"
                                ]
                              }
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "referencedEntity",
                        "referringEntities"
                      ]
                    },
                    {
                      "description": "Non-existent reference HTTP problem.  Used when a mutable operation attempts to refer to another resource that does not exist.\n",
                      "allOf": [
                        {
                          "description": "Base HTTP problem type\n",
                          "properties": {
                            "status": {
                              "type": "integer",
                              "description": "Optionally specified HTTP status code\n"
                            },
                            "type": {
                              "type": "string",
                              "format": "uri"
                            },
                            "title": {
                              "type": "string",
                              "description": "Human readable title of the class of problem that occurred.\n"
                            },
                            "detail": {
                              "type": "string",
                              "description": "Human readable description of the class of problem that occurred.\n"
                            },
                            "instance": {
                              "type": "string",
                              "description": "Unique identifier for an instance of a problem\n",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "type",
                            "instance"
                          ]
                        },
                        {
                          "properties": {
                            "referencedType": {
                              "type": "string",
                              "description": "The type of the object that was referenced.\n"
                            },
                            "referencedId": {
                              "description": "Identifies the referenced object.\n"
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "coblitz.nsp",
              "coblitz.cp"
            ]
          }
        ]
      },
      "parameters": [
        {
          "description": "Unique identifier for each origin.\n",
          "in": "path",
          "name": "originId",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 3
          }
        },
        {
          "description": "Unique identifier for each Content Provider.\n",
          "in": "path",
          "name": "contentProviderId",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 1
          }
        }
      ]
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Get an origin](https://techdocs.akamai.com/aura-lcdn-content-delivery/reference/get-origin.md)
* [Update an origin](https://techdocs.akamai.com/aura-lcdn-content-delivery/reference/put-origin.md)