Spaces method and path for this operation:
Refer to Spaces for more information.
[Required authorization] Route required privileges: fleet-agents-read.
curl \
--request POST 'https://<KIBANA_URL>/api/fleet/agents' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"actionIds":["string"]}'