Skip to main content

Delete Quote

Permanently deletes a quote. This action cannot be undone.

HTTP Request​

  • URL: /quote/{id}
  • Method: DELETE
  • Headers:
    • accessToken: Required. Your API access token.
  • Required scope: READ_WRITE_QUOTE

Path Parameters​

ParameterTypeDescription
idStringRequired. The ID of the quote to delete.

cURL Example​

curl --location --request DELETE '<BASE_URL>/quote/6720f3c1a8b4e21f9c3d5a10' \
--header 'accessToken: <ACCESS_TOKEN>'

Response​

  • 200 OK: The quote was deleted successfully.
  • 400 Bad Request: The access token is missing or invalid, does not have the required scope, or the quote ID is not valid.

Sample JSON Response​

{
"success": true,
"message": "Quote deleted Successfully"
}

Response Details​

FieldTypeDescription
successBooleanWhether the request was successful.
messageStringResult message.