Scopes endpoints

Use the scopes endpoints to retrieve information about task-targets.

A task-target is a set of tasks and nodes/node groups you can use to provide specific privilege escalation for users who would otherwise not be able to run certain tasks or run tasks on certain nodes or node groups. When you grant a user permission to use a task-target, the user can run the task(s) in the task-target on the set of nodes defined in the task-target. Use the POST /command/task_target endpoint to create task-targets.