REST Resources
/api/space/tag-management/tags/{id}/targets/{tgtId}
The following operations are supported on this resource:
GET /tags/{id}/targets/{tgtId} | Version 1 |
This API is to obtain information on the target object using the GET method.
Sample Usage
GET /tags/{id}/targets/{tgtId}
- Parameters:
Name Type URI Type Description Required id Integer Path The tag ID of the object where the target is present. Y oid Integer Path The target id to be retreived. Y
- Accept Headers:
application/vnd.net.juniper.space.tag-management.targets+xml;version=1
application/vnd.net.juniper.space.tag-management.targets+json;version=1
<target
type=
"vnd.net.juniper.space.user-management.user"
href="/api/space/user-management/users/30244913"
uri=
"/api/space/tag-management/tags/458766/targets/458767"/>
{
"target": {
"@type":
"vnd.net.juniper.space.user-management.user",
"@href":
"/api/space/user-management/users/30244913",
"@uri":
"/api/space/tag-management/tags/458766/targets/4587671"
}
}
Access Control
The following capabilities are required to access this API: DefaultRead
DELETE /tags/{id}/targets/{tgtId} | Version 1 |
This API is used to untag the target object.
Sample Usage
DELETE /tags/{id}/targets/{tgtId}
- Parameters:
Name Type URI Type Description Required id Integer Path The ID of the tag to remove from the target object. Y oid Integer Path The ID of the target to be untagged. Y
Access Control
The following capabilities are required to access this API: DefaultRead