Remove Publication Collaborator by Custom URL

View as Markdown

Removes a collaborator from a publication identified by custom URL.

Requires ‘email’ in request body. A user may remove themselves without elevated permissions; otherwise modifying permissions (owner/admin/editor with appropriate ACL) are required. Permissions: PublicationAccessControlMixin determines access. Errors: 400 if ‘email’ missing; 404 if user/email not found or insufficient authority.

Request

This endpoint expects an object.
urlstringRequired
Custom publication URL used for lookup.
emailstringRequiredformat: "email"
Email of collaborator to remove.

Response

(Fallback) Successful removal response (framework may present 200 though 204 preferred)

Errors

400
Bad Request Error
404
Not Found Error