Skip to content
Aller au contenu
Charitips

API reference · Accounts

Disable a donor platform

DELETE/v1/accounts/{accountId}/donor-platform

Disable the donor platform for a given child account. Restricted to platform accounts

Requires a Bearer access token.

Parameters

This field has no description in the spec.

  • accountId#stringin pathrequired

Errors

  • 401Unauthorized

    Missing, expired or invalid access token.

    {
      "statusCode": 401,
      "message": "Unauthorized"
    }
  • 402Plan upgrade required
    {
      "statusCode": 402,
      "message": "Plan upgrade required"
    }
  • 403Forbidden
    {
      "statusCode": 403,
      "message": "Forbidden"
    }
  • 403Account closed
    {
      "message": "Account closed",
      "code": "ACCOUNT_CLOSED"
    }
  • 404Donor platform not found
    {
      "statusCode": 404,
      "message": "Donor platform not found",
      "error": "Not Found"
    }
  • 404Not Found

    No resource with this id on your account: the API answers as if it did not exist.

    {
      "statusCode": 404,
      "message": "Not Found"
    }
DELETE /v1/accounts/<accountId>/donor-platform
curl -X DELETE https://api.sandbox.charitips.com/v1/accounts/<accountId>/donor-platform \  -H "Authorization: Bearer $CHARITIPS_TOKEN"
Built from the spec and the API code

Request bodies are written for this docs and checked against the API's validation; ids in angle brackets are placeholders. Response values are placeholders built from the schema.