Assign Traversal Spec To User
Traversal specifications assigned through this API will add the specified traversal specification to a role permission for the ReadOnly role. It will also update the user's existing role permissions with this traversal specification.
This API is replaced by the assignRolePermissionToUser
and unassignRolePermissionFromUser
APIs which are PUT and DELETE operations respectively at the /auth/usergroups/{groupId}/permissions
endpoint.Note: mixing current and deprecated APIs is not recommended and may result in undefined behavior.
Identifier of the user to which the traversal spec needs to be assigned
The traversal specification to assign to the user
Show optional properties
{
"adapterKind": "string",
"name": "string"
}
"No Custom Example is Available"
The root Adapter kind of the Traversal Specification. Together with resourceKind
and name
these values uniquely identify the traversal specification used by this instance.
The root Resource kind of the Traversal Specification. Together with adapterKind
and name
these values uniquely identify a traversal specification used by this instance.
The name of the Traversal Specification. Together with adapterKind
and resourceKind
these values uniquely identify a traversal specification used by this instance.
List of root resource id selections
When flag is true system will ignore resource selections and include all resources in the tree defined by the traversal specification templat.
The adapter kinds that apply to this traversal specification instance. Only applicable for traversal specification templates with a filter type of ADAPTER_ASSOCIATION. If this is present, then all adapter instances of this kind are selected as part of the hierarchy.
The traversal spec is assigned to the user successfully
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"adapterKind:"string","name:"string"}' https://{api_host}/suite-api/api/auth/users/{userId}/traversalspecs