diff --git a/epersongroups.md b/epersongroups.md index bc9f39d8..4f500531 100644 --- a/epersongroups.md +++ b/epersongroups.md @@ -61,6 +61,12 @@ To create a new EPerson Group, perform a post with the JSON below to the eperson } ``` +Status codes: +* 201 Created - if the operation succeed +* 401 Unauthorized - if you are not authenticated +* 403 Forbidden - if you are not logged in with sufficient permissions +* 422 Unprocessable Entity - if the dc.title was omitted or already exists + ## Sub Groups in a single parent EPerson Group ### Get Sub Groups in a single parent EPerson Group diff --git a/epersons.md b/epersons.md index 195b1818..678dfbfd 100644 --- a/epersons.md +++ b/epersons.md @@ -163,6 +163,12 @@ To create a new EPerson, perform a post with the JSON below to the epersons endp } ``` +Status codes: +* 201 Created - if the operation succeed +* 401 Unauthorized - if you are not authenticated +* 403 Forbidden - if you are not logged in with sufficient permissions +* 422 Unprocessable Entity - if the email address was omitted or already exists + ## Linked entities ### Groups **GET /api/eperson/epersons/<:uuid>/groups** @@ -181,4 +187,4 @@ It will search in: * UUID (exact match) * first name * last name -* email address \ No newline at end of file +* email address