Deactivate a user's account.
POST {{baseUrl}}/account/deactivate
Deactivate the user's account, removing all ability for the user to login again.
This API endpoint uses the User-Interactive Authentication API.
An access token should be submitted to this endpoint if the client has an active session.
The homeserver may change the flows available depending on whether a valid access token is provided.
Unlike other endpoints, this endpoint does not take an id_access_token
parameter because the homeserver is expected to sign the request to the
identity server instead.
Request Body
{"auth"=>{"value"=>"reference definitions/auth_data.yaml not found in the OpenAPI spec"}, "id_server"=>"example.org"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id_server_unbind_result":"success"}