Main menu

Delete an asset permanently

DELETE https://localise.biz/api/assets/{id}.json 

Deletes an asset from the currently authenticated project.

Warning: This will permanently delete all translations made of this asset across all locales

URI parameters

id

Asset ID

string required
key

API key - required if not sent in Authorization header

string optional

Request headers

Authorization

API key sent as "Loco <key>" or "Basic <encoded>". See Authentication.

string required if not in query

Response

A single JSON-encoded Success object, which takes the following form:

{
    "status": 0, // HTTP status 2xx code
    "message": "", // Descriptive success message
}  

Try it

Open in test console »


« /api/assets