Reassign agent
Deprecated
Spaces method and path for this operation:
put /s/{space_id}/api/fleet/agents/{agentId}/reassign
Refer to Spaces for more information.
PUT
/api/fleet/agents/{agentId}/reassign
curl \
--request PUT 'https://localhost:5601/api/fleet/agents/{agentId}/reassign' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: string" \
--data '{"policy_id":"string"}'