You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to change the name of a task. The API docs say "If a task already exists then use the PATCH method to modify any property of the task." The task id is listed as a property so I had hoped I could change the name of a task by issuing a PATCH with a new id. Even though the API replies with a 204, the task name is not actually changed.
For example, if I try to change my task name from "myTaskName" to "aNewTaskName" by sending a PATCH to kapacitor/v1/tasks/myTaskName with a JSON payload of {"id":"aNewTaskName"} I get a 204 response but the name stays the same.
As a sanity check, I am able to successfully modify other properties such as status using PATCH to that endpoint.
The text was updated successfully, but these errors were encountered:
v0.13
I'm trying to change the name of a task. The API docs say "If a task already exists then use the PATCH method to modify any property of the task." The task id is listed as a property so I had hoped I could change the name of a task by issuing a PATCH with a new id. Even though the API replies with a 204, the task name is not actually changed.
For example, if I try to change my task name from "myTaskName" to "aNewTaskName" by sending a PATCH to kapacitor/v1/tasks/myTaskName with a JSON payload of {"id":"aNewTaskName"} I get a 204 response but the name stays the same.
As a sanity check, I am able to successfully modify other properties such as status using PATCH to that endpoint.
The text was updated successfully, but these errors were encountered: