Modify a single tag
PATCH https://localise.biz/api/tags/{tag}.json
Renames an existing tag in the currently authenticated project
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 PATCH request body must contain (object) Partial tag data to update (currently name only).
This must be a JSON-encoded string in the following form:
{
"name": "", // Display name of tag
}
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 |
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
}