Create Config Store Option

POST /platform/configuration/store/{config_option_id}

Inserts new Config Store Option.

Path parameters

  • config_option_id string Required

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

application/json

Body Required

The Config Store Option definition

  • value string Required

    Value of this Config Store Option

Responses

  • 201 application/json

    The Config Store Option was inserted 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

  • 400 application/json

    Config Store Option data already exists for the given name. (code: platform.config.store.already_exists)

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

      Value is platform.config.store.already_exists.

    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

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