Skip to main content

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​

HeaderValue
AuthorizationBearer <jwt_token>

Request Body​

The request uses application/json format with the following fields:

FieldTypeRequiredDescription
idstring✅The ID of the architecture you want to update
archstring✅New architecture identifier

Example Request​

curl --location 'http://localhost:9000/arch/update' \
-H "Authorization: Bearer <jwt_token>" \
-H "Content-Type: application/json" \
--data '{
"id": "66ae13fe5b663c058367f893",
"arch": "new_name"
}'

Response​

Success Response (200 OK)​

{
"updateArchResult.Updated": true
}

Response Fields​

FieldTypeDescription
updateArchResult.UpdatedbooleanIndicates 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