cURL
curl --request DELETE \ --url https://api.venlyfinance.com/api/v1/accounts/{accountId}/party-roles/{partyId} \ --header 'Authorization: Bearer <token>'
{ "success": false, "errors": [ { "code": "VALIDATION_ERROR", "message": "The request contains invalid parameters." } ] }
Removes a party’s role from this account. Cannot remove the last ACCOUNT_HOLDER from an account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The party ID to remove from the account
Party role removed