Preprint Providers
Update a Moderator's Permission Group for a Preprint Provider
Update the permission group for a specific moderator on a preprint provider.
Permissions - The authenticated user must be an administrator of the preprint provider.
Request Body
Provide the permission_group attribute in the attributes object to update the moderator. Available values for permission_group are:
- moderator: Can review and moderate preprint submissions.
- admin: Can manage submissions and other moderators.
Returns
- A JSON object with the updated moderator details under the data key if the update is successful.
- If unsuccessful, returns an errors object detailing the validation issues.
patch/providers/preprints/{provider_id}/moderators/{moderator_id}/
Path parameters
provider_idstring required
The unique identifier of the preprint provider.
moderator_idstring required
The unique identifier of the moderator.
Request body
Example request
{
"data": {
"type": "moderators",
"id": "{moderator_id}",
"attributes": {
"permission_group": "admin"
}
}
}Response
Moderator successfully updated.