Remove a contributor

DELETE /contributors/{requestId}

This endpoint remove an existing contributor from a request. You need to specify the contactId or the email of the contact. It returns an object with the requestId and the contactId.


This action can't be cancelled. Use it at your own risk.

Path parameters

  • requestId string Required

    Specify the ID of the request.

  • Specify the ID of the contact to remove.

  • email string

    Specify the email of the contact to remove.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
  • 400

    Bad Request -- Your request is invalid.

  • 401

    Unauthorized -- Your API key is wrong.

  • 403

    Forbidden -- The object requested is hidden for administrators only.

  • 404

    Not Found -- The specified object could not be found.

  • 429

    Too Many Requests -- You're requesting too many objects! Slow down!

  • 500

    Internal Server Error -- We had a problem with our server. Try again later.

  • 503

    Service Unavailable -- We're temporarily offline for maintenance. Please try again later.

DELETE /contributors/{requestId}
curl \
 -X DELETE https://api.usecollect.com/v1/contributors/{requestId} \
 --user "username:password"
Response examples (200)
{
  "id": "XigRzPs4N5vwX3Rks",
  "contactId": "SSKm6i9cxbvZuLRDB",
  "deleted": true
}