Update Config Store Option

PUT /platform/configuration/store/{config_option_id}

Update existing Config Store Option.

Path parameters

  • config_option_id string Required

    Name of the Config Store Option that you would like to modify

Query parameters

  • version string

    If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)

application/json

Body Required

The Config Store Option definition

  • value string Required

    Value of this Config Store Option

Responses

  • 200 application/json

    Config Store Option retrieved successfully

    Hide headers attributes Show headers attributes
    Hide response attributes Show response attributes object
    • name string Required

      Name of this Config Store Option

    • value string Required

      Value of this Config Store Option

    • changed boolean Required

      Whether or not this Config Store Option has changed

  • 404 application/json

    There was no existing data for the given Config Store Id. (code: platform.config.store.not_found)

    Hide headers attribute Show headers attribute
    • The error codes associated with the response

      Value is platform.config.store.not_found.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

  • 409 application/json

    There is a version conflict. (code: platform.config.store.version_conflict)

    Hide headers attribute Show headers attribute
    • The error codes associated with the response

      Value is platform.config.store.version_conflict.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

PUT /platform/configuration/store/{config_option_id}
curl \
 --request PUT 'https://{{hostname}}/api/v1/platform/configuration/store/{config_option_id}' \
 --user "username:password" \
 --header "Content-Type: application/json" \
 --data '{"value":"string"}'