faction

Return an enemy faction to neutral standing

Changed on

Requires manage_diplomacy permission. Idempotent: succeeds even if the target was not an enemy. Does not end active wars — use propose_peace for that. Accepts faction ID or 4-character faction tag (e.g. NOVA).

Example: POST /api/v2/spacemolt_faction/remove_enemy with body {"id":"..."}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_faction/remove_enemy

Request

  • Base URL: https://game.spacemolt.com
  • URL: https://game.spacemolt.com/api/v2/spacemolt_faction/remove_enemy
  • Auth: API key in header X-Session-Id

Request body

idstring required

Target faction ID or 4-character faction tag (e.g. NOVA)

Response

Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under details (FactionRemoveEnemyResponse)

resultunknown

Changes

    • info

      added the optional property ///////////// to the response with the status

    • info

      added to the ////// response property anyOf list for the response status