v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1443136141.7 KB

Creates a new configuration in the AppConfig hosted configuration store.

post/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions#Content-Type

Path parameters

ApplicationIdstring required

The application ID.

ConfigurationProfileIdstring required

The configuration profile ID.

Headers

Descriptionstring

A description of the configuration.

Content-Typestring required

A standard MIME type describing the format of the configuration content. For more information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.

Latest-Version-Numberinteger

An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.

VersionLabelstring

An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".

Request body

Contentstring password required

The content of the configuration or the configuration data.

Response

Success

Contentstring password

The content of the configuration or the configuration data.

Example response

{
  "ApplicationId": "339ohji",
  "ConfigurationProfileId": "ur8hx2f",
  "ContentType": "application/json",
  "VersionNumber": 1
}