createTag

View as Markdown

Create a tag.

Creates a new tag scoped to a workspace, which can then be applied to requests. Use this when you need to create tags (e.g., “VPN”, “Network”) before attaching them to a request. After creating a tag, use its returned id in the tags array of createGeneralRequest or updateGeneralRequest.

Parameters

NameTypeRequiredDescription
namestringYesTag label (e.g., “VPN”, “Network”)
workspace_idintegerYesWorkspace ID (from listWorkspaces)
color_codestringNoColor name for the tag (e.g., “blue”, “red”)