default

Restore competitor

Undo the last remove_competitor (or a swap) on a project: the competitor goes back where it was, exactly as stored. Refused with nothing_to_restore when a later removal replaced it, and too_many at the cap.

post/api/v1/tools/restore_competitor

Request

  • Base URL: https://www.affiliatespy.io
  • URL: https://www.affiliatespy.io/api/v1/tools/restore_competitor
  • Auth: HTTP bearer

Request body

app_idstring uuid

Project id from list_apps. Omit to use your most recently added project.

competitorstring required

The exact value remove_competitor was given, or a swap's swap_out_id.

replacingstring

Undoing a swap: the id of the competitor the swap put in, which leaves in the same write.

confirmboolean

Set true after the user confirmed an action the guard flagged as hard to undo.

Response

The tool's JSON result (same payload the MCP tool returns).

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.