A draft is not in force
Tenant settings use versioned configuration families. Saving a version retains a document; publishing determines when it becomes effective. Existing claims retain their own configuration pins rather than silently adopting a new business decision policy.
The API root is /tenants/{slug}/configuration/{kind}. Examples of families include identity, correspondence, policies, and rulesets. Family-specific validation and permissions apply; do not send the same document shape to different families.
| Operation | Method and suffix |
|---|---|
| Read in-force version | GET the family root |
| List saved versions | GET /versions |
| Read one version | GET /versions/{version} |
| Validate without saving | POST /validate |
| Save a draft | POST /versions |
| Publish a saved version | POST /versions/{version}/activate |
Validate and save
Prepare a file containing the input for the specific family. For identity, use the example in sign-in configuration.
export CONFIG_ROOT="$API/tenants/acme/configuration/identity"
curl --fail-with-body --cacert "$CA_CERT" -H @pledge-auth.header \
-H 'Content-Type: application/json' "$CONFIG_ROOT/validate" \
--data-binary @identity.json
curl --fail-with-body --cacert "$CA_CERT" -H @pledge-auth.header \
-H 'Content-Type: application/json' "$CONFIG_ROOT/versions" \
--data-binary @identity.json --output draft.json
Validation returns valid: true on success. Saving returns 201 and a version record including its version number, digest, publication revision, and state. Review the stored document before publishing. Rules authoring additionally uses an explicit base and change set; use the workbench or the rules-specific input contract.
Publish the reviewed version
VERSION=$(jq -r '.version' draft.json)
jq '{publication_revision, effective_from: null}' draft.json > activation.json
curl --fail-with-body --cacert "$CA_CERT" -H @pledge-auth.header \
-H 'Content-Type: application/json' \
"$CONFIG_ROOT/versions/$VERSION/activate" \
--data-binary @activation.json
A null effective_from publishes at the service’s current time. A future timestamp schedules activation. Backdating is rejected. The publication revision protects against a competing publication; a conflict requires rereading and reviewing the latest state.
Verify the change
Read the family root again. For an immediate publication, confirm the expected version and digest are in force. A scheduled version does not replace the current one before its effective time. Keep the publication receipt with your change record.
Test the behavior the change affects: sign in after an identity update, admit a synthetic claim after rule publication, or inspect the rendered statement after correspondence publication.
Missing configuration has specific consequences
A missing identity provider prevents browser sign-in. Missing documents configuration prevents document reading. Missing schedules leaves review work without an assignment. Missing correspondence configuration prevents statements from being issued for claims admitted without it. A healthy deployment does not imply a fully configured organization.
Publish a corrective version through the same lifecycle when reverting a business change. Do not edit a saved version or rewrite the configuration attached to historical claims.