zulip/templates/zerver/api/reorder-custom-profile-fiel...

645 B

Reorder custom profile fields

{generate_api_description(/realm/profile_fields:patch)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/realm/profile_fields:patch|example(admin_config=True)}

{tab|curl}

{generate_code_example(curl)|/realm/profile_fields:patch|example}

{end_tabs}

Parameters

{generate_api_arguments_table|zulip.yaml|/realm/profile_fields:patch}

Response

Return values

{generate_return_values_table|zulip.yaml|/realm/profile_fields:patch}

Example response

A typical successful JSON response may look like:

{generate_code_example|/realm/profile_fields:patch|fixture(200)}