Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DescriptionCreate a rule tag

URL

/api/rule_tags/create

HTTP MethodPOST

Security

Requires to be authenticatedAdminister Quality Profiles permission

Available sinceVersion 4.2

...

Use CaseExample Request
Create tag "mytag"

curl -X POST -v -u admin:admin '"http://localhost:9000/api/rule_tags/create?tag=mytag'"

Parameters

Parameter

Description

Required

Default Value

Example Value

tag

TagYes

None

mytag