2020-05-19 19:12:02 +02:00
|
|
|
# Reactivate a user
|
|
|
|
|
|
|
|
{!api-admin-only.md!}
|
|
|
|
|
|
|
|
|
|
|
|
{generate_api_description(/users/{user_id}/reactivate:post)}
|
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
|
|
|
|
|
|
|
{generate_code_example(python)|/users/{user_id}/reactivate:post|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
|
|
|
|
|
|
|
{generate_code_example(curl)|/users/{user_id}/reactivate:post|example}
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2020-05-19 19:12:02 +02:00
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/users/{user_id}/reactivate:post}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
A typical successful JSON response may look like:
|
|
|
|
|
|
|
|
{generate_code_example|/users/{user_id}/reactivate:post|fixture(200)}
|