Skip to content

Delete State

DELETE /api/v1/state/:state_id

This route is used to delete an existing state for the authenticated user. Once deleted, the state is permanently removed from the database.


Request

Authentication

🔒 Authentication is required. A valid minban_token cookie must be present to authorize the request.

Headers

No special headers required.

Parameters

state_id (integer, required): The unique identifier of the state to be deleted.

Responses

204 No Content

The request was successful, and the state was deleted. No content is returned in the response.


400 Bad Request

The request was invalid.


401 Unauthorized

The user is not authenticated, or the minban_token cookie is missing or invalid.


500 Internal Server Error

An unexpected error occurred while deleting the card.