Clone wiki

BibSonomy / documentation / api / methods / ChangeGroup

Change group

Method: PUT
URL: https://www.bibsonomy.org/api/groups/[groupname]

Hint: you can't change the group's name.

Status codes

  • 200 ok

  • 400 bad request

  • 401 Unauthorized
  • 403 Forbidden

  • 500 Internal Server Error

Example

Request:

curl -XPUT --user username:apikey "https://www.bibsonomy.org/api/groups/group1" --header "Content-Type:application/xml" -d '
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bibsonomy><group name="group1" description="This is a very special new group - updated."/>
</bibsonomy>'

Response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bibsonomy stat="ok">
  <groupid>group1</groupid>
</bibsonomy>

Updated