You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create a new EPerson registration, perform a post with the JSON below to the eperson registrations endpoint (without being authenticated).
39
39
@@ -44,7 +44,7 @@ To create a new EPerson registration, perform a post with the JSON below to the
44
44
}
45
45
```
46
46
47
-
Requires query parameter 'type' set with either 'register' or 'forgot' value, depending on the action requested.
47
+
Requires query parameter 'accountRequestType' set with either 'register' or 'forgot' value, depending on the action requested.
48
48
49
49
No other properties can be set (e.g. the name cannot be defined)
50
50
If successful, an email will be sent with a token allowing the user to continue the registration
@@ -53,9 +53,10 @@ Verifying whether a new registration can be created can happen using the "eperso
53
53
54
54
Status codes:
55
55
* 201 Created - if the operation succeed
56
-
* 400 Bad Request - if e.g. the e-mail address is in a domain that is not allowed in config `authentication-password.domain.valid`
56
+
* 400 Bad Request - if e.g. the query param 'accountRequestType' is not present or contains something else than forgot or register
57
57
* 401 Unauthorized - if registration is disabled, you are not authorized to create a new registration
58
-
* 422 Unprocessable Entity - if the email address was omitted
58
+
* 422 Unprocessable Entity - if the email address was omitted or the e-mail address is in a domain that is not allowed in config `authentication-password.domain.valid`
0 commit comments