Skip to content

Delete collection agency

Request

Sets isArchived = true on the agency

Security
oauth2(Required scopes: collection.agency:delete) or bearerAuth or apiKeyHeader
Path
companyIdstringrequired

The unique company identifier.

collectionAgencyIdstringrequired

The ID of the collection agency

DELETE
/companies/{companyId}/collection-agencies/{collectionAgencyId}
curl -i -X DELETE \
  'https://sandboxapi.peach.finance/api/companies/{companyId}/collection-agencies/{collectionAgencyId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success no content