HisendHISEND Docs

Clean up retained provider configuration

POST
/admin/provider-cleanups/{id}/retry

Requires a user JWT with the admin role. Idempotent cleanup. Active identities are protected. Provider failures return the persisted failed state with HTTP 200; inspect status.

Authorization

AdminJWT
AuthorizationBearer <token>

User JWT; backend checks the admin role. Project API keys cannot access admin endpoints.

In: header

Path Parameters

id*integer
Range0 <= value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

reason*string

Audit reason; required for limit exceptions, lock/score changes, overrides, rotation and deletion.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.hisend.app/v1/admin/provider-cleanups/0/retry" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{
  "id": 0,
  "project_id": 0,
  "domain": "string",
  "provider": "string",
  "status": "pending",
  "error": "string",
  "created_at": "string",
  "updated_at": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}