Spaces method and path for this operation:
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/transforms/authorize
Refer to Spaces for more information.
POST
/api/fleet/epm/packages/{pkgName}/{pkgVersion}/transforms/authorize
curl \
--request POST 'https://localhost:5601/api/fleet/epm/packages/{pkgName}/{pkgVersion}/transforms/authorize' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: string" \
--data '{
"transforms": [
{
"transformId": "string"
}
]
}'