PATCH /accounts/{account_id}/containers/applications/{application_id}
Modifies a single application by id. Changes that replace instance deployment configuration, including the image, must be applied with a rollout.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
application_id |
String | Yes | |
account_id |
String | Yes |
Account identifier. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
constraints |
Object | No | |
constraints.jurisdiction |
String | No |
Currently supports only "eu" and "fedramp". Overlap between jurisdiction and region is allowed for ENAM, WNAM (FedRAMP) and EEUR, WEUR (EU). |
constraints.regions[] |
Array | No | |
rollout_active_grace_period |
Integer | No |
Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds. Defaults to 0. Default value: 0 |
max_instances |
Integer | No |
Maximum number of instances that an autoscaling application can run. |
configuration |
Object | No |
Application configuration fields you can change without creating a rollout. |
configuration.authorized_keys[] |
Array | No | |
configuration.authorized_keys[].name |
String | No |
Optional human readable name for this key. |
configuration.authorized_keys[].public_key |
String | Yes |
An SSH public key. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.