Removing tags for software components
Available from 9.2.14.
You use the
DELETE
operation on the api/sam/v2/tags/software_components
element to remove the previously added tags.
Permissions
You must be an Administrator or have the Manage Catalog permission to use this API.
Resource URL
https://hostname:port/api/sam/v2/tags/software_components
Resource information
Operation details | Description |
---|---|
HTTP method | DELETE |
Request headers |
|
Request format | application/x-www-form-urlencoded |
Request payload | ids=id_1, id_2,
id_3&tags=tag_1, tag_2,
tag_3 |
Response headers |
|
Response format | application/json |
Response codes |
|
Example conversation - removing tags for the selected software components
Note: The length of a single tag is limited to 254 characters.
- Request
-
DELETE https://hostname:port/api/sam/v2/tags/software_components?ids=1,2,3&tags=tag1,tag2
- Request header
-
Accept: application/json Accept-Language: en-US Token: <token>
- Response
-
{ "updated_components": 3 }