v14

latestSwagger 2.0raw.githubusercontent.com2022-04-018660175.5 KB
Tags

Creates a tag in the subscription.

The tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes.

put/subscriptions/{subscriptionId}/tagNames/{tagName}

Path parameters

tagNamestring required

The name of the tag to create.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

OK - Returns information about the tag.

idstring

The tag ID.

tagNamestring

The tag name.