Standard

Set Configuration settings

Changed on

Sets the configuration values for the account.

It should also validate the settings before saving them, similarly to the /configuration/validation endpoint. See 400(bad request) response for invalid configuration settings.

post/configuration

Request

  • Base URL
    https://example.com
  • URL
    https://example.com/configuration
  • Auth
    none declared

Headers

TR_IDstring

A trace id, to help track problems. If it's not received, an auto-generated value will be used for logging. TR_ID header should also be set on the response.

x-lc-signaturestring

JWS token containing the signature and additional claims.

Request body

idstring required

The configuration property ID as defined in the descriptor.

Response

Will return the complete set of latest configurations (even if just one configuration has been updated). Exceptions are the secrets, that should be returned as a string of "*".

itemCountinteger

The total number of config values available.

Changes

    • info

      the endpoint scheme security LanguageCloudJWSToken was removed from the API

    • info

      added the new optional header request parameter x-lc-signature