faction

Delete a room from your faction's common space

Changed on

Permanently removes the room and its description. Requires manage_facilities permission.

Example: POST /api/v2/spacemolt_faction/delete_room with body {"id":"xxx"}

post/api/v2/spacemolt_faction/delete_room

Request

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

Request body

object required
id, string required

ID of the room to delete

Response

Result. structuredContent type: FactionDeleteRoomResponse

intersection required
object
structuredContent, FactionDeleteRoomResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ]
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status