Skip to main content
POST
/
v1
/
partners
/
{id}
/
archive
Archive partner
curl --request POST \
  --url https://api.example.com/v1/partners/{id}/archive
{
  "status": 1
}

Endpoint

POST https://api.partnero.com/v1/partners/{id}/archive
Soft-deletes a partner. Unlike permanent deletion, archived partners can be restored later. The partner loses access to the portal while archived.

Path parameters

ParameterTypeRequiredDescription
idstringYesPartner’s unique ID

Request

cURL
curl --location --request POST 'https://api.partnero.com/v1/partners/partner_123/archive' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "status": 1
}

Error responses

StatusErrorSolution
404Partner not foundCheck the partner ID is correct
400Action failedPartner may already be archived
Use archive instead of delete when you may need to reverse the action later. To undo an archive, use the restore endpoint.