stages

AccountLockdownStage Viewset

post/stages/account_lockdown/

Request body

namestring required
deactivate_userboolean

Deactivate the user account (set is_active to False)

set_unusable_passwordboolean

Set an unusable password for the user

delete_sessionsboolean

Delete all active sessions for the user

revoke_tokensboolean

Revoke all tokens for the user (API, app password, recovery, verification, OAuth)

self_service_completion_flowstring uuid nullable

Flow to redirect users to after self-service lockdown. This flow should not require authentication since the user's session is deleted.

Response

pkstring uuid required
namestring required
componentstring required

Get object type so that we know how to edit the object

verbose_namestring required

Return object's verbose_name

verbose_name_pluralstring required

Return object's plural verbose_name

meta_model_namestring required

Return internal model name

deactivate_userboolean

Deactivate the user account (set is_active to False)

set_unusable_passwordboolean

Set an unusable password for the user

delete_sessionsboolean

Delete all active sessions for the user

revoke_tokensboolean

Revoke all tokens for the user (API, app password, recovery, verification, OAuth)

self_service_completion_flowstring uuid nullable

Flow to redirect users to after self-service lockdown. This flow should not require authentication since the user's session is deleted.

Changes

No recorded changes to this endpoint across all 1 revision of this API.