# OracleDelete

[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/app/tx/detail/DeleteOracle.cpp)

Delete a [price oracle](/es-es/docs/concepts/decentralized-storage/price-oracles). Only the owner of the price oracle can send this transaction.

PriceOracle
## Example OracleDelete JSON


```json
{
  "TransactionType": "OracleDelete",
  "Account": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
  "OracleDocumentID": 34
}
```

##  Fields

In addition to the [common fields](/docs/references/protocol/transactions/common-fields),  transactions use the following fields:

| Field | JSON Type | Internal Type | Required? | Description |
|  --- | --- | --- | --- | --- |
| `OracleDocumentID` | Number | UInt32 | Yes | The identifying number of the price oracle, which must be unique per owner. |


## Error Cases

Besides errors that can occur for all transactions, `OracleDelete` transactions can result in the following transaction result codes.

| Error Code | Description |
|  --- | --- |
| `tecNO_ENTRY` | The `Oracle` object doesn't exist. |


## See Also

- [Oracle entry](/docs/references/protocol/ledger-data/ledger-entry-types/oracle)