API Docs
Update Tag
Update tag by sending PUT data in json format to REST API endpoint: /api/v1/tags/:name
Example: If you want to update tag with name "sample-tag"
Endpoint: /api/v1/tags/sample-tag
Endpoint: /api/v1/tags/sample-tag
Request
Parameter | Type | Position | # | Description |
---|---|---|---|---|
apikey | string |
Header |
Required |
Enter your 20-30 characters unique api key. |
apisecret | string |
Header |
Required |
Enter your 12-20 characters unique api secret. |
Content-Type | string |
Header |
Required |
application/json |
name | string |
Body |
Optional |
Tag name. Must be unique. Max: 25 characters |
description | string |
Body |
Optional |
Optional tag description (plain text only). Max: 255 characters |
Sample request-data json
{
"name":"samepl-tag",
"description":"sample tag description",
}
Response
{ "status": 200, "message": "ok", "data": { "rows_updated": 1 } }
{ "status": 400, "message": "Bad request. <detailed-error-message-will-go-here.>", "data": null }
{ "status": 404, "message": "Not found. Tag with specified name doesn't exist.", "data": null }