Create enrollment API key
Deprecated
Spaces method and path for this operation:
post /s/{space_id}/api/fleet/enrollment-api-keys
Refer to Spaces for more information.
POST
/api/fleet/enrollment-api-keys
curl \
--request POST 'https://localhost:5601/api/fleet/enrollment-api-keys' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: string"