Skip to main content
Version: Latest (4.1.1)

Delete password by admin

DELETE 

/verification-actions-srv/configurations/password/:sub

This API call allows Admins to delete the password of a user. After the call, the user can no longer log in with a password.

No request body is needed.

Before you call it:

  1. Check that PASSWORD is in the user's list of configured methods: GET /verification-actions-srv/configurations/{sub}. If PASSWORD is not in the list, this call deletes nothing but still returns 200 with data: true.
  2. Make sure the user has another way to log in (for example a social login, FIDO2, or another passwordless method). Otherwise the user is locked out.

Example request:

curl -X DELETE \
'https://demo.cidaas.de/verification-actions-srv/configurations/password/1c51af98-8da4-47e6-bdb8-a2ee1079b146' \
-H 'Authorization: Bearer <admin-access-token>'

Example response:

{
"success": true,
"status": 200,
"data": true
}

After the delete, the user can set a new password in the profile with Set password.

caution

The password cannot be restored. Only use this endpoint when the user must no longer log in with a password.

This is the password case of Remove one configured method (admin).

Groups required: CIDAAS_ADMINS

Roles required (one of): ADMIN, SECONDARY_ADMIN, SECOPS_VIEWER, SECOPS_MANAGER

Deprecated equivalent: DELETE /verification-srv/v2/setup/admin/configured/remove/password/{sub}.

Request​

Responses​

Password deleted (also returned when no password was configured)