Creates tags
post
/serviceapi/entityModel/uds/tags
Creates a Tag with the given key and value.
Request
Supported Media Types
- application/json
Nested Schema : UdsTag
Type:
object
Describes a tag. Tags are used to identify and query entities. Tags are managed using key/value pairs.
-
key:
string
the tag keyExample:
organization
-
value:
string
the tag valueExample:
dev
Response
Supported Media Types
- application/json
Default Response
successful operation
Examples
Create a list of Tags:
Payload:
[ { "key":"loc", "value":"nyc" }, { "key":"org", "value":"dev" }, { "key":"org", "value":"hr" } ]
curl -u ${OMC_USERNAME}:${PASSWORD} -X POST -H "Content-Type:application/json" -d "@example.json" "https://serverurl/serviceapi/entityModel/uds/tags"Back to Top