Skip to main content

Delete a donation campaign

delete/companies/{companyId}/campaignManagement/{donationCampaignId}

Removes the donation campaign specified in the path. This request is only allowed if the campaign has the status inactive.

To make this request, your API credential must have the following role:

  • Management API—Campaign Management read and write
Endpoint destination URL
https://management-test.adyen.com/v3/companies/{companyId}/campaignManagement/{donationCampaignId}
Click to copy
donationCampaignIdstringRequired

The unique identifier of the donation campaign to be deleted.

companyIdstringRequired

The unique identifier of the company account.

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 204 - No Content

    The request has been successfully processed, but there is no additional content.

  • 400 - Bad Request

    A problem reading or understanding the request.

  • 401 - Unauthorized

    Authentication required.

  • 403 - Forbidden

    Insufficient permissions to process the request.

  • 422 - Unprocessable Entity

    A request validation error.

  • 500 - Internal Server Error

    The server could not process the request.