PUT /application/{name} — Edit an application
PUT https://api.sandbox-gameye.gameye.net/application/{name}
Section titled “PUT https://api.sandbox-gameye.gameye.net/application/{name}”Updates the configuration of an existing application. All fields are optional — include only the fields you want to change.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | The name of the application to edit. |
Request Body
Section titled “Request Body”All fields are optional. Omit any field you do not want to change.
| Field | Type | Description |
|---|---|---|
registry | string | The container registry to pull images from. |
repository | string | The repository path within the registry. |
tagKeep | integer | Number of image tags to retain in the fleet. |
networkMode | string | Container networking mode. |
nodePool | string | The node pool to deploy this application onto. |
regions | array | List of region names where this application is available. |
limits | object | Hard resource limits (cpu, ram, optional gpu). |
reservation | object | Soft resource reservations (cpu, ram, optional gpu). |
ports | array | Port bindings (requested, protocol, tls). Replaces the existing list. |
Code Examples
Section titled “Code Examples”curl -X PUT 'https://api.sandbox-gameye.gameye.net/application/my-game-server' \--header 'Authorization: Bearer YOUR_TOKEN' \--header 'Content-Type: application/json' \--data '{ "regions": ["europe", "us-east"], "tagKeep": 10}'const response = await fetch('https://api.sandbox-gameye.gameye.net/application/my-game-server', { method: 'PUT', headers: { 'Authorization': 'Bearer YOUR_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ regions: ['europe', 'us-east'], tagKeep: 10, }),});Responses
Section titled “Responses”The application was successfully updated. No response body.
You are not authorized. Make sure your bearer token is correct.
The application does not exist, or an entity referenced in the body could not be found.