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

Endpoint

POST https://api.partnero.com/v1/partners/{id}/revoke-archive
Restores a previously archived partner. The partner regains access to the portal and returns to their original state.

Path parameters

ParameterTypeRequiredDescription
idstringYesPartner’s unique ID

Request

cURL
curl --location --request POST 'https://api.partnero.com/v1/partners/partner_123/revoke-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 not be archived or restoration failed