Skip to content

Delete Map

DELETE
/api/creative/lore/maps/{map_id}

Delete a world map and its image file.

map_id
required
Map Id
string

Successful Response

LoreDeleteResponse

Standardized delete response for lore routes.

All delete endpoints return this shape so the frontend can rely on a consistent { status, id } contract instead of branching per entity type. Replaces the ad-hoc dict[str, str] returns that previously varied between {"status": "deleted", "id": X} and {"status": "deleted"}.

object
status
Status

Operation outcome

string
default: deleted
Allowed values: deleted permanently_deleted restored
id
required
Id

Entity id that was affected

string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object