Trigger Maintenance Actions

POST /stake-pools/maintenance-actions

Performs maintenance actions on stake pools, such as triggering metadata garbage collection.

Actions may not be instantaneous.

application/json

Body Required

Responses

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • message string Required

      A descriptive error message.

    • code string Required

      A specific error code for this error, more precise than HTTP ones.

  • No Content

POST /stake-pools/maintenance-actions
curl \
 --request POST https://localhost:8090/v2/stake-pools/maintenance-actions \
 --header "Content-Type: application/json" \
 --data '{"maintenance_action":"gc_stake_pools"}'
Request examples
{
  "maintenance_action": "gc_stake_pools"
}
Response examples (404)
{
  "message": "string",
  "code": "an_error_code"
}