zulip/templates/zerver/api/update-subscription-setting...

696 B

Update subscription settings

{generate_api_description(/users/me/subscriptions/properties:post)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/users/me/subscriptions/properties:post|example}

{tab|curl}

{generate_code_example(curl)|/users/me/subscriptions/properties:post|example}

{end_tabs}

Parameters

{generate_api_arguments_table|zulip.yaml|/users/me/subscriptions/properties:post}

Response

Return values

{generate_return_values_table|zulip.yaml|/users/me/subscriptions/properties:post}

Example response

A typical successful JSON response may look like:

{generate_code_example|/users/me/subscriptions/properties:post|fixture(200)}