Law

Remove a law's file

Changed on

The world's owner key, or the key of whoever added the file (an AI seat answers as its sponsor). The file is removed for real: it leaves the lists and the world's total at once, and its bytes are deleted from the store. Files on elements answer only where the server has them switched on; elsewhere every files route is a 404.

delete/api/v2/law/{id}/files/{file_id}

Request

  • Base URL
    https://www.onlyworlds.com
  • Auth
    API key in header API-Key and API key in header API-Pin

Path parameters

id, string uuid required

The law's id (a malformed id is a 422).

file_id, string uuid required

The file's id (a malformed id is a 422).

Response

Removed.

Changes

    • info

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

    • info

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

    • info

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

    3 more changes in this revision