Dry Run Configuration
POST
/config-ops/dry-run/
const url = 'https://example.com/config-ops/dry-run/?mode=merge';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"oauth_providers":[{}],"settings":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url 'https://example.com/config-ops/dry-run/?mode=merge' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "oauth_providers": [ {} ], "settings": {} }'Preview what an import would change without applying any modifications.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” mode
Mode
string
Request Body required
Section titled “Request Body required ” Media type application/json
ConfigImportRequest
Payload for importing configuration.
object
oauth_providers
Any of:
Array<object>
object
key
additional properties
any
null
Example generated
{ "oauth_providers": [ {} ], "settings": {}}Responses
Section titled “ Responses ”Successful Response
Media type application/json
DryRunResponse
Result of a dry-run import showing what would change.
object
Example generated
{ "oauth_providers": {}, "preview_token": "example", "settings": {}}Bad request — invalid query parameters or payload
Media type application/problem+json
Unauthorized — missing or invalid credentials
Media type application/problem+json
Forbidden — caller lacks access to this resource
Media type application/problem+json
Not found
Media type application/problem+json
Validation error
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json