Authorization: Bearer ********************curl --location 'https://api.github.com/admin/pre-receive-environments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image_url": "https://my_file_server/path/to/devtools_env.tar.gz",
"name": "DevTools Hook Env"
}'{
"created_at": "string",
"default_environment": true,
"download": {
"downloaded_at": "string",
"message": "string",
"state": "string",
"url": "string"
},
"hooks_count": 0,
"html_url": "string",
"id": 0,
"image_url": "string",
"name": "string",
"url": "string"
}