Delete Oracle
Soft-deletes a price oracle: it disappears from every read. A second delete of the same oracle answers "oracle not found".
Required permission: oracle:delete
Request
DELETE /v2/admin/oracles/{oracle_id}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
oracle_id | string | path | Required. Oracle id (24-character hex) |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer <access_token> |
Example
curl --request DELETE \
--url '{{baseUrl}}/v2/admin/oracles/6911b0d4e4b0f51d2c8a7e52' \
--header 'Authorization: Bearer <access_token>'
Response
204 No Content with an empty body.
Errors
| Status | Code | Description |
|---|---|---|
| 400 | 10000 | oracle_id is not a valid 24-character hex id |
| 400 | 10001 | Oracle not found or already deleted (domain 5) |
See Errors for the error format and common codes.