operationId: apps_update
summary: Update an App
description: Update an existing app by submitting a new app specification. For documentation
on app specifications (`AppSpec` objects), please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/reference/app-spec/).
tags:
- Apps
parameters:
- $ref: parameters.yml#/id_app
requestBody:
content:
application/json:
schema:
$ref: models/apps_update_app_request.yml
required: true
responses:
"200":
$ref: responses/update_app.yml
"401":
$ref: ../../shared/responses/unauthorized.yml
'404':
$ref: '../../shared/responses/not_found.yml'
"429":
$ref: "../../shared/responses/too_many_requests.yml"
"500":
$ref: ../../shared/responses/server_error.yml
default:
$ref: ../../shared/responses/unexpected_error.yml
x-codeSamples:
- $ref: 'examples/curl/apps_update.yml'
- $ref: 'examples/python/apps_update.yml'
security:
- bearer_auth:
- 'app:update'