Delete OTC Order Rule by ID
Delete an OTC order rule by its ID.
Request
DELETE /v2/admin/otc-order-rules/{id}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
id | string | path | The ID of the rule to delete |
Headers
| Name | Type | Description |
|---|---|---|
Authorization | string | Bearer token for authentication |
Example
curl --location --request DELETE '\{\{baseUrl\}\}/v2/admin/otc-order-rules/6910a6ab5f635dd4dc251581' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Response
No Content.
Status Codes
| Code | Description |
|---|---|
| 204 | No Content |
| 401 | Unauthorized - Missing or invalid token |
| 404 | Not Found - Rule ID does not exist |
| 500 | Internal Server Error |