mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Implemented account deletion. Not all cases covered with tests [skip ci]
This commit is contained in:
@@ -12,6 +12,7 @@ return [
|
||||
|
||||
// Accounts module routes
|
||||
'GET /v1/accounts/<id:\d+>' => 'accounts/default/get',
|
||||
'DELETE /v1/accounts/<id:\d+>' => 'accounts/default/delete',
|
||||
'GET /v1/accounts/<id:\d+>/two-factor-auth' => 'accounts/default/get-two-factor-auth-credentials',
|
||||
'POST /v1/accounts/<id:\d+>/two-factor-auth' => 'accounts/default/enable-two-factor-auth',
|
||||
'DELETE /v1/accounts/<id:\d+>/two-factor-auth' => 'accounts/default/disable-two-factor-auth',
|
||||
|
Reference in New Issue
Block a user