Create Tag

Creates a new tag with the specified properties.

Limitations:

  • Maximum of 20 tags per scope (user or affiliate)
  • Only affiliate admins can create affiliate-wide tags
  • Tag names must be unique within the same scope

Important Notes:

  • The owner id and targetModel are automatically set by the backend based on the authenticated user
  • If no scope is provided, it defaults to a user-scoped tag
  • The backend completely overwrites the scope object with the correct structure

Error Responses:

  • 400: Invalid parameters or maximum tags limit reached
  • 401: Authentication required
  • 403: Insufficient permissions for affiliate-wide tags
  • 409: Tag name already exists in scope
Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!