Update the Application name or settings
/portal/v1/accounts/{accountSlug}/applications/{appSlug}Patches the active Application's mutable fields (currently name); omitted fields are left unchanged. Supply the Application's current version in the If-Match header for optimistic concurrency — a stale value returns 409 so a concurrent edit is surfaced rather than silently overwritten. Returns the updated Application and emits an application.updated audit event.
Authentication
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
applications.manageDeveloper ConsoleCreate, edit, and delete Applications and Environments. Granted through an administrator role in the Admin Workspace; a valid token without it is refused with 403.
Headers
if-matchrequired
Request body
application/json
namestring Optional Responses
application/json
data *ApplicationResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Errors
When the request can't be completed, the response body includes a stable error code you can branch on.
account.capability_requiredForbiddenThe signed-in user's administrator roles do not grant the capability this endpoint requires.
Ask an account administrator to grant a role carrying the capability named in the Authentication section, then retry.
Returned object
curl -X PATCH "https://auth.canopy-io.com/portal/v1/accounts/{accountSlug}/applications/{appSlug}" \ -H "if-match: value" \ -H "Authorization: Bearer $CANOPY_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'
{ "data": { "id": "string", "account_id": "string", "name": "string", "slug": "string", "default_environment_id": "string", "settings": {}, "version": 0, "created_at": "2026-04-20T12:00:00.000Z", "updated_at": "2026-04-20T12:00:00.000Z" } }
Tell us how we can improve this guide.