Update configuration

Replace a published or draft version of the configuration.

Path Params
uuid
required

The unique document type identifier in v4 UUID format. Find IDs using the /document_types endpoint.

string
required
length between 3 and 128

Unique name for a configuration. Find it in the Sensible app or from the /document_types/{type-id}/configurations endpoint.

Body Params
string
length between 3 and 128

User-friendly name

string

JSON-stringified configuration. If you test this endpoint using the Try It button in this interactive API explorer, the explorer stringifies the JSON for you when you paste the configuration into this parameter. To support publishing drafts, this API doesn’t reject requests with configuration errors. To validate, compare your configuration to the latest version of the configuration schema, published at https://schema.sensible.so/configuration.schema.json.

string
enum
length between 3 and 128

Destination environment for publication, as a target for later extraction. If you specify an environment, the configuration must be valid. If you don't specify an environment, Sensible saves this version of the configuration as the current draft.

Allowed:
string

Version ID of the current draft of the configuration, if the current draft exists and is being replaced. if the configuration is currently in draft and this parameter is not supplied or does not match, the operation fails

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain