Main menu

Add multiple assets to an existing tag


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

URI parameters


Name of a single asset tag.

string optional

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


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

string required if not in query


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