Skip to main content

Update a tag by ID

PUT 

/api/v1/tags/:id

Updates the name of a specific tag by its ID. This is an authenticated route.

Request

Responses

Successfully updated the tag.

Authorization: http

name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://docs.linkwarden.app/api/v1/tags/:id");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Auth
Parameters
— pathrequired
Body required
{
  "name": "string"
}