diff --git a/websitev2/docs/advanced/api_access.md b/websitev2/docs/advanced/api_access.md index f1ada3f67c..fc5a0163c3 100644 --- a/websitev2/docs/advanced/api_access.md +++ b/websitev2/docs/advanced/api_access.md @@ -17,11 +17,10 @@ Please note that it may take up to 60 seconds for the new key to propagate to al Now that you have an access token with admin privileges we can use that to perform changes in our Unleash instance. -In the example below we will use the [Unleash Admin API](../api/admin/features) to enable the “Demo” feature toggle sing curl. +In the example below we will use the [Unleash Admin API](../api/admin/features) to enable the “Demo” feature toggle using curl. ```sh -curl -X POST -H "Authorization: admintoken" -https://app.unleash-hosted.com/demo/api/admin/features/Demo/toggle/on +curl -X POST -H "Content-Type: application/json" -H "Authorization: admintoken" https://app.unleash-hosted.com/demo/api/admin/features/Demo/toggle/on ``` **Great success!** We have now enabled the feature toggle. We can also verify that it was actually changed by the API user by navigating to the history (audit log) for this feature toggle. diff --git a/websitev2/static/img/api_access_history.png b/websitev2/static/img/api_access_history.png index 84c7ec5ebf..b92549447e 100644 Binary files a/websitev2/static/img/api_access_history.png and b/websitev2/static/img/api_access_history.png differ diff --git a/websitev2/static/img/archive-toggle-revive.png b/websitev2/static/img/archive-toggle-revive.png index 037b572287..f674fa4c58 100644 Binary files a/websitev2/static/img/archive-toggle-revive.png and b/websitev2/static/img/archive-toggle-revive.png differ diff --git a/websitev2/static/img/archive-toggle.png b/websitev2/static/img/archive-toggle.png index 04dfc0527b..69b412376c 100644 Binary files a/websitev2/static/img/archive-toggle.png and b/websitev2/static/img/archive-toggle.png differ diff --git a/websitev2/static/img/constraints_legal_values.png b/websitev2/static/img/constraints_legal_values.png index ab0b3b7b3b..7dae6b797e 100644 Binary files a/websitev2/static/img/constraints_legal_values.png and b/websitev2/static/img/constraints_legal_values.png differ diff --git a/websitev2/static/img/context-fields-create.png b/websitev2/static/img/context-fields-create.png new file mode 100644 index 0000000000..54b9431aa4 Binary files /dev/null and b/websitev2/static/img/context-fields-create.png differ diff --git a/websitev2/static/img/context-fields.png b/websitev2/static/img/context-fields.png index 864fc24891..1fb1231b30 100644 Binary files a/websitev2/static/img/context-fields.png and b/websitev2/static/img/context-fields.png differ diff --git a/websitev2/static/img/create_strategy.png b/websitev2/static/img/create_strategy.png new file mode 100644 index 0000000000..e452099b6a Binary files /dev/null and b/websitev2/static/img/create_strategy.png differ diff --git a/websitev2/static/img/custom-constraints.png b/websitev2/static/img/custom-constraints.png index 86c9ad7695..b3140b6c62 100644 Binary files a/websitev2/static/img/custom-constraints.png and b/websitev2/static/img/custom-constraints.png differ diff --git a/websitev2/static/img/global_audit_log.png b/websitev2/static/img/global_audit_log.png index e659740e2f..e89eba5d7b 100644 Binary files a/websitev2/static/img/global_audit_log.png and b/websitev2/static/img/global_audit_log.png differ diff --git a/websitev2/static/img/new_context_field.png b/websitev2/static/img/new_context_field.png index a08a050be2..ee49b6e8d5 100644 Binary files a/websitev2/static/img/new_context_field.png and b/websitev2/static/img/new_context_field.png differ diff --git a/websitev2/static/img/strategy-constraints.png b/websitev2/static/img/strategy-constraints.png index 659c83ee3b..5ed78cebf7 100644 Binary files a/websitev2/static/img/strategy-constraints.png and b/websitev2/static/img/strategy-constraints.png differ diff --git a/websitev2/static/img/timestamp_create_strategy.png b/websitev2/static/img/timestamp_create_strategy.png index 4a16c8e166..25e437b029 100644 Binary files a/websitev2/static/img/timestamp_create_strategy.png and b/websitev2/static/img/timestamp_create_strategy.png differ diff --git a/websitev2/static/img/timestamp_use_strategy.png b/websitev2/static/img/timestamp_use_strategy.png index 49f42e325a..d6b2af827b 100644 Binary files a/websitev2/static/img/timestamp_use_strategy.png and b/websitev2/static/img/timestamp_use_strategy.png differ diff --git a/websitev2/static/img/unleash-toggle-history.png b/websitev2/static/img/unleash-toggle-history.png index 4d61479432..997bb141eb 100644 Binary files a/websitev2/static/img/unleash-toggle-history.png and b/websitev2/static/img/unleash-toggle-history.png differ diff --git a/websitev2/static/img/variants.png b/websitev2/static/img/variants.png index 5e88465a34..c619824520 100644 Binary files a/websitev2/static/img/variants.png and b/websitev2/static/img/variants.png differ