Skip to main content

Delete OTC Order Rule by ID

Delete an OTC order rule by its ID.

Request

DELETE /v2/admin/otc-order-rules/{id}

Parameters

NameTypeInDescription
idstringpathThe ID of the rule to delete

Headers

NameTypeDescription
AuthorizationstringBearer token for authentication

Example

curl --location --request DELETE '\{\{baseUrl\}\}/v2/admin/otc-order-rules/6910a6ab5f635dd4dc251581' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

No Content.

Status Codes

CodeDescription
204No Content
401Unauthorized - Missing or invalid token
404Not Found - Rule ID does not exist
500Internal Server Error