Skip to content

Commit

Permalink
Updated epersons.md
Browse files Browse the repository at this point in the history
Removed the metadata operations from epersons.md
  • Loading branch information
mspalti committed Feb 12, 2019
1 parent 51d43da commit 9aeaa49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion epersons.md
Expand Up @@ -44,6 +44,7 @@ the replace operation `[{ "op": "replace", "path": "/netid", "value": "newNetId"
```json
"netid": "newNetId",
```
#### This operation can be performed by administrators and by the authenticated user.

To replace the password value, `curl -X PATCH http://${dspace.url}/api/epersons/eperson/<:id-eperson> -H "Content-Type: application/json" -d '[{ "op": "replace", "path": "/password", "value": "newpassword"]'`. The operation also requires an Authorization header.

Expand All @@ -55,4 +56,4 @@ the replace operation `[{ "op": "replace", "path": "/password", "value": "newpas
```json
"password": "newpassword",
```
Note: The new password is currently returned after an update but this could be revisited later, see [#30]((https://github.com/DSpace/Rest7Contract/issues/30))
Note: The new password is currently returned after an update but this could be revisited later, see [#30]((https://github.com/DSpace/Rest7Contract/issues/30))

0 comments on commit 9aeaa49

Please sign in to comment.