Update application
Update an existing application's metadata including name, logo, and description.
warning
Changing the application name might prevent existing apps from checking for new versions, as the application name will have changed.
Endpoint
POST /app/update
Authentication
Header | Value |
---|---|
Authorization | Bearer <jwt_token> |
Request Body
The request uses multipart/form-data
format with the following fields:
Field | Type | Required | Description |
---|---|---|---|
id | string | ✅ | The ID of the application you want to update |
app | string | ❌ | New application name |
file | file | ❌ | New logo for the application |
description | string | ❌ | New application description |
Example Request
curl --location 'http://localhost:9000/app/update' \
-H "Authorization: Bearer <jwt_token>" \
--form 'data="{\"id\":\"66ae13fe5b663c058367f893\", \"app\":\"new_name\"}"'
Response
Success Response (200 OK)
{
"updateAppResult.Updated": true
}
Response Fields
Field | Type | Description |
---|---|---|
updateAppResult.Updated | boolean | Indicates whether the application was successfully updated |
Notes
- Only the fields you provide will be updated - omitted fields remain unchanged
- The
file
field accepts common image formats (PNG, JPG, etc.) - Application name changes should be done carefully as they may break existing client integrations