POST Identity/GetAssociatedEntries
Returns all associated identity groups and folders for a given identity entry.
Requirements
- Permissions: The caller is not required to have any special permissions.
- Token scope: Configuration
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
|
Name |
Description |
|---|---|
|
ID |
Identity Information that describes a user or group. To get this information, call POST Identity/Browse or the UI. |
Returns
|
Name |
Description |
|---|---|
|
Identities |
An array of Identity Entry object values that show the user's group and folder memberships. |
Example: Find identity groups and folders
Request
POST https://tpp.venafi.example/vedsdk/Identity/GetAssociatedEntries
Authorization:Bearer 4MyGeneratedBearerTknz==
{
"ID":{
"Name":"Admin",
"PrefixedUniversal":"local:{20711980-df6e-4813-a6fa-d5930fa37ac8}"
}
}
Response
HTTP/1.1 200 OK
{
"Identities":[
{
"FullName":"\\VED\\Identity\\Admin",
"Name":"Admin",
"Prefix":"local",
"PrefixedName":"local:Admin",
"PrefixedUniversal":"local:{20711980-df6e-4813-a6fa-d5930fa37ac8}",
"Type": 1,
"Universal":"{20711980-df6e-4813-a6fa-d5930fa37ac8}"
},
{
"FullName":"\\VED\\Identity\\Everyone",
"IsGroup":true,
"Name":"Everyone",
"Prefix":"local",
"PrefixedName":"local:Everyone",
"PrefixedUniversal":"local:{d5c56a46-9da5-4832-9bba-c14b420e1b37}",
"Type": 2,
"Universal":"{d5c56a46-9da5-4832-9bba-c14b420e1b37}"
}
]
}