diff --git a/templates/zerver/api/get-user-groups.md b/templates/zerver/api/get-user-groups.md index 6085cd955e..23a66e44d6 100644 --- a/templates/zerver/api/get-user-groups.md +++ b/templates/zerver/api/get-user-groups.md @@ -6,31 +6,19 @@ Fetches all of the user groups in the organization. ## Usage examples -
- -
+{start_tabs} +{tab|python} -
+{generate_code_example(python)|/user_groups:get|example} + +{tab|curl} ``` curl curl -X GET {{ api_url }}/v1/user_groups \ -u BOT_EMAIL_ADDRESS:BOT_API_KEY ``` -
- -
- -{generate_code_example(python)|/user_groups:get|example} - -
- -
- -
+{end_tabs} ## Arguments