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:
- Check that
PASSWORDis in the user's list of configured methods:GET /verification-actions-srv/configurations/{sub}. IfPASSWORDis not in the list, this call deletes nothing but still returns200withdata: true. - 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.
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
- 200
- 400
- 401
Password deleted (also returned when no password was configured)
Delete failed (VER_0022)
Unauthorized — missing cidaas:verification_delete, or the token is not in group CIDAAS_ADMINS with a required role