Create Tag
POST/api/content/tags
Create a new tag.
You can find more information about tags here.
Locale
The locale in the request body specifies which translation should be created.
The locale query parameter specifies which translation should be returned.
If no locale is specified, the applications default locale will be used. You can learn more about configuring the default locale here.
Tokens
- A valid
AccessTokenfrom a member of theCONTRIBUTORgroup.
Request
Responses
- 200
- 401
- 403
- 409
- 500
The newly created tag.
The following error codes correspond to this status:
ACCESS_TOKEN_EXPIRED: Indicates that the access token is expired.ACCESS_TOKEN_INVALID: Indicates that the access token cannot be decoded.AUTHENTICATION_REQUIRED: User is not authenticated.
The following error codes correspond to this status:
GROUP_MEMBERSHIP_REQUIRED: User is not a member of required group.
The following error codes correspond to this status:
TAG_EXISTS: A tag with the specified key already exists.
The following error codes correspond to this status:
ACCESS_TOKEN_ALLOWLIST_READING_FAILURE: Represents an exception indicating a failure when reading the allowlist for an access token cache.DATABASE_FAILURE: Exception representing a general failure related to database operations.NO_TRANSLATIONS: Exception indicating that no translations are available for a given request.