Edit a tag

Edit an existing tag and modify its vaults.

Request

Security

Table 1. Roles capable of executing the Edit tag API method
Any Super User System Admin Security Admin Operator
  superUser systemAdmin    
POST /manager/api/{format}/1.0/editTag.adm HTTP/1.1
Host:{manager.dsnet}
id={tagId}

Curl method

curl -u {admin}:{password} -k ”/manager/api/{format}/1.0/editTag.adm“ -d ”id={tagId}“

Parameters

Table 2. Request Parameters for Edit Tag (editTag) API method
Parameter Type Usage Default Description
id Long Required  

Manager ID of tag.

name String Optional  

Updated name for tag must be unique.

description String Optional  

Updated description for tag.

vaultIds Set Optional  

Full list of IDs for vaults on which to place new tag.

Do not provide along with vaultIdMap parameter.

vaultIdMap Map Optional  

Vault IDs from which tags should be added or removed.

Do not provide along with vaultIds parameter.

deviceIds Set Optional   Full list of IDs for devices on which to place new tag Do not provide along with deviceIdMap parameter.

deviceIdMap