From 46e5c0da9725b33774f2d37fd92f4b455bc9e4d8 Mon Sep 17 00:00:00 2001 From: Stefan Benz <46600784+stebenz@users.noreply.github.com> Date: Mon, 8 Aug 2022 14:33:56 +0200 Subject: [PATCH] docs(import): correct formatting of json examples for export and import (#4142) Co-authored-by: Florian Forster --- .../guides/integrate/export-and-import.md | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/docs/docs/guides/integrate/export-and-import.md b/docs/docs/guides/integrate/export-and-import.md index 583bd78f9b..d3988f604a 100644 --- a/docs/docs/guides/integrate/export-and-import.md +++ b/docs/docs/guides/integrate/export-and-import.md @@ -35,9 +35,9 @@ curl --request POST \ "org_ids": [ "70669144072186707", "70671105999825752" ], "excluded_org_ids": [ ], "with_passwords": true, - "with_otp": true - "timeout": "30s", - "response_output": true, + "with_otp": true, + "timeout": "30s", + "response_output": true }' -o export.json ``` @@ -80,15 +80,16 @@ curl --request POST \ --header 'Content-Type: application/json' \ --data ' "{ "org_ids": [ "70669144072186707", "70671105999825752" ], - "excluded_org_ids": [ ], - "with_passwords": true, - "with_otp": true, - "timeout": "10m", - "gcs_output": { - "path": "export.json", - "bucket": "caos-zitadel-exports", - "serviceaccount_json": "XXXX" - }' -o export.json + "excluded_org_ids": [ ], + "with_passwords": true, + "with_otp": true, + "timeout": "10m", + "gcs_output": { + "path": "export.json", + "bucket": "caos-zitadel-exports", + "serviceaccount_json": "XXXX" + } +}' ``` * "org_ids": to select which organizations should be exported @@ -114,12 +115,12 @@ curl --request POST \ --header 'Authorization: Bearer XXXX' \ --header 'Content-Type: application/json' \ --data '{ - "timeout": "10m", - "data_orgsv1_gcs": { - "path": "export.json", - "bucket": "caos-zitadel-exports", - "serviceaccount_json": "XXXX" - } + "timeout": "10m", + "data_orgsv1_gcs": { + "path": "export.json", + "bucket": "caos-zitadel-exports", + "serviceaccount_json": "XXXX" + } }' ```