cURL
curl --request POST \ --url https://api.veryfront.com/servers/{server_id}/environments/{environment_id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "short_id": "<string>", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "environment_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "hostname": "<string>", "status": "pending", "created_at": "<string>", "updated_at": "<string>" }
Add an environment to a server. Must be the server owner and have access to the environment’s project.
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Server UUID
Environment UUID
Environment linked
pending
provisioning
running
error
deleting