Update Arch
Update an existing architecture's identifier.
warning
Changing the architecture name might prevent existing apps from checking for new versions, as the architecture identifier will have changed.
Endpoint
POST /arch/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 architecture you want to update |
arch | string | ✅ | New architecture identifier |
Example Request
curl --location 'http://localhost:9000/arch/update' \
-H "Authorization: Bearer <jwt_token>" \
--form 'data="{\"id\":\"66ae13fe5b663c058367f893\", \"arch\":\"new_name\"}"'
Response
Success Response (200 OK)
{
"updateArchResult.Updated": true
}
Response Fields
Field | Type | Description |
---|---|---|
updateArchResult.Updated | boolean | Indicates whether the architecture was successfully updated |
Notes
- Architecture name changes should be done carefully as they may break existing client integrations
- The change affects all future uploads using this architecture