Run the import of the older settings stores
curl --request POST \ --url https://auth.example.com/api/admin/platform/settings/legacy-import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "dryRun": false }'Platform admins only. With dryRun: false, runs one bounded step of the import: the values of the older settings stores are written as Settings API values (platform-wide stores as platform values, a tenant’s certification profile as that tenant’s values, a page of tenants at a time), keeping every value already set through the Settings API. It completes when every value was saved; a refused value leaves it needs_attention, which a later run starts over (after the value is corrected) or acceptRejections: true completes as it is. A completed import is not run again. The default is a preview. The scheduler runs a step each minute while it is in progress. The older stores are left in place.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
Complete an import that needs attention, accepting its refused values.
Example
{ "dryRun": false}Responses
Section titled “ Responses ”What the import of the older settings stores did, or would do.
object
A preview that stopped before the last tenant.
object
The version of the stores and mappings the run imported (absent: 1). A completed run of an earlier version runs again for what was added since.
object
Keys already set through the Settings API at this scope, kept as they are.
Keys not written, with the reason.
object
Example
{ "status": "dry_run", "state": null, "documents": [ { "scope": "platform", "scopeId": null, "category": "oauth", "sources": [ "AUTHRIM_CONFIG oauth:config:*" ], "applied": [ "oauth.auth_code_ttl" ], "kept": [ "oauth.access_token_expiry" ], "rejected": {} } ]}Headers
Section titled “Headers ”Snapshot for the remote scheduled view; eventual when Pipeline visibility can lag ingestion; local_hot_only for local scheduled staging without a remote Catalog.
Tenant deliveries not yet confirmed visible. Omitted for self-service subjects. Zero does not guarantee immediate Pipeline visibility.
True only for a complete bounded snapshot query. Pipeline responses remain false; incomplete reads return 503.
Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}There are no refused values to accept (the import does not need attention), or the import’s state changed meanwhile (another step, restart or acceptance); reload it.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}A store or Settings API document could not be read, or a save conflicted; the import keeps the position of the last page it finished. Retry later.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}