Update a tag in the workspace.
Go
package main import( "context" dubgo "github.com/dubinc/dub-go" "log" ) func main() { ctx := context.Background() s := dubgo.New( dubgo.WithSecurity("DUB_API_KEY"), ) res, err := s.Tags.Update(ctx, "<id>", nil) if err != nil { log.Fatal(err) } if res != nil { // handle response } }
{ "id": "<string>", "name": "<string>", "color": "red" }
Default authentication mechanism
The ID of the tag to update.
The updated tag.
The response is of type object.
object
Was this page helpful?