List targets this target belongs to
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targets/{targetId}/memberof
Lists the targets that the specified target is a member of (for example, groups that contain this target).
Request
Path Parameters
-
targetId(required): string
Target identifier.
Query Parameters
-
limit: integer(int32)
Minimum Value:
1Maximum Value:2000to limit the number of rows returned. If the result set is greater follow the previous and next links in the results.Example:20 -
page: string
system generated page token used in the self, next and previous links.
-
sort: string
Pattern:
^(targetName|targetType)(:(ASC|DESC))?(,(targetName|targetType)(:(ASC|DESC))?)*$Sorts the targets that this target belongs to by `targetName` or `targetType`. Each expression has the format field:direction, where direction is ASC (ascending) or DESC (descending) and defaults to ASC. Multiple expressions are separated by commas, without spaces around the separators. Field names are case-sensitive. The default order is targetName ASC.Example:targetName:ASC -
targetName: string
Target name filter (optional).
-
targetType: string
Target type filter (optional).
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
Root Schema : TargetMemberof
Type:
objectPaged list of targets that the specified target is a member of.
Show Source
-
count(required): integer
Number of items returned in this response.
-
items(required): array
items
Member-of summaries.
-
links(required): object
links
Result set navigation links.
Nested Schema : items
Type:
arrayMember-of summaries.
Show Source
-
Array of:
object MemberOfSummary
Summary of a target that the specified target belongs to.
Nested Schema : MemberOfSummary
Type:
objectSummary of a target that the specified target belongs to.
Show Source
-
id: string
Target identifier.Example:
targetId -
name: string
Target name.Example:
TargetName -
typeDisplayName: string
Target type display name.Example:
TargetTypeDisplayName -
typeName: string
Target type.Example:
TargetType
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
401 Response
client is not authenticated
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
internal error serving the request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
indicates that a required service is not available.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported