collections
Replace collection authors
Changed onAssociate new authors with the collection. This will remove all already associated authors and add these new ones
put/account/collections/{collection_id}/authors
Request
- Base URLhttps://api.figshare.com/v2
- AuthOAuth 2Authorization codehttps://figshare.com/account/applications/authorizeToken URLhttps://api.figshare.com/v2/tokenScopesall
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idinteger required
Collection unique identifier
Request body
Example request
{
"authors": [
{
"id": 12121
},
{
"id": 34345
},
{
"name": "John Doe"
}
]
}Response
Reset Content
Changes
- breaking
added the new path request parameter
collection_id - breaking
added required request body
- info
added the media type
application/jsonfor the response with the status
- breaking