API ReferenceapiaffiliatesPOST /v1/admin/affiliates/mark-inactive

POST /v1/admin/affiliates/mark-inactive

Service: affiliates · operationId: (none)

Mark affiliates inactive after prolonged inactivity

Required scopes

(no scope declared — review service config)

Responses

200 Inactive marking completed

{
  "type": "object",
  "properties": {
    "marked": {
      "type": "integer"
    }
  },
  "required": [
    "marked"
  ]
}

500 Internal error

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

Example

curl -X POST https://affiliates.platform.loop.health/v1/admin/affiliates/mark-inactive \
  -H "Authorization: Bearer $ACCESS_TOKEN"