Skip to content

Commit 907a4ce

Browse files
authored
Update epersonregistrations.md: add description of status code 400 in PATCH
1 parent dbea22e commit 907a4ce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

epersonregistrations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ We can have the following cases:
173173
Status codes:
174174

175175
* 204 Created - if the operation succeed with a new token generated, and e new mail sent to the `email` provided in the request
176-
* 401 Unauthorized - if registration is disabled the token provided is not valid or absent
176+
* 400 Bad Request - if the `id` or `token` provided in the URL is absent or negative / blank
177+
* 401 Unauthorized - if registration is disabled or the token provided is not valid
177178
* 422 Unprocessable Entity - if the email address was omitted or the operation is not valid
178179

179180
## Create new EPerson registration

0 commit comments

Comments
 (0)