Skip to content

Remove webhook#

About#

Removes a webhook by id

DELETE /users/current/configuration/strategies/:strategyId/webhooks/:webhookId

For more information see Swagger documentation

Headers#

Name Type Required Description
auth-token string Yes authorization token. See Authentication & authorization

Path parameters#

Name Type Required Description
strategyId string Yes strategy id
webhookId string Yes webhook id

Response#

Responses:

  • 204 - Webhook was successfully removed
  • 401 - Authorization failed. Response schema: Error
  • 404 - Webhook with the specified id value not found. Response schema: Error

Examples#

Example request:

curl -X DELETE --header 'Accept: application/json' --header 'auth-token: token' 'https://copyfactory-api-v1.new-york.agiliumtrade.ai/users/current/configuration/strategies/AeRF/webhooks/bsYA4ucPTt2ZBK1ynVx7Ef6kCdaUmSgL'