Main menu

Add multiple assets to an existing tag

POST https://localise.biz/api/tags/{tag}.json 

Tag multiple assets at once by posting their unique IDs to the tag's resource

URI parameters

tag

Name of a single asset tag.

string optional
key

API key - required if not sent in Authorization header

string optional

Request body

The POST request body must contain (string) Comma separated list of unique asset IDs.

Loco's official SDK binds the request body to the "data" parameter. Check the documentation for other libraries.

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/tags