Creates a new tag or updates an existing one.

Behavior: Creates a new tag or updates an existing tag based on the input model. The underlying implementation uses a create-or-update pattern. This design intentionally avoids the need for a separate PUT operation.

Authorization: Requires an authenticated user via the class-level [Authorize] attribute.

Side Effects: Creates a new tag record in the database or updates an existing one.

Error Scenarios: Returns 400 if the input is null or the tag name is null.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The tag model containing the name and optional configuration for the tag.

Represents a tag with its identifier and display name.

uuid | null

Gets or sets the unique identifier of the tag, or null when creating a new tag.

string | null

Gets or sets the display name of the tag.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

401

Unauthorized. The caller must provide a valid Bearer token.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json