Profile
Create profile
Creates a provisioning profile by saving the configuration of a virtual machine for future use. Provide a name, optional description, and the virtual machine configuration in the data object. For the full set of virtual machine configuration fields, see the Create virtual machines endpoint.
post/core/profiles
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/profiles
- Auth: API key in header api_key
Request body
Response
Profile created successfully
Example response
{
"status": true,
"message": "Profile created successfully",
"profile": {
"id": 1402,
"name": "new-profile",
"description": "example",
"data": "{\"name\": \"focused-tesla\", \"environment_name\": \"default-NORWAY-1\", \"image_name\": \"Ubuntu Server 22.04 LTS R535 CUDA 12.2\", \"volume_name\": \"\", \"flavor_name\": \"n1-cpu-large\", \"assign_floating_ip\": false, \"security_rules\": [], \"key_name\": \"example-key\", \"user_data\": \"\", \"labels\": [], \"count\": 1}",
"created_at": "2026-05-06T16:04:09Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.