latestSwagger 2.0Apache 2.02026-08-2034903.0 MB

3c5164c707eb

Nodes

Delete a contributor

Removes a contributor from a node. This request only removes the relationship between the node and the user, it does not delete the user itself.

A node must always have at least one admin, and attempting to remove the only admin from a node will result in a 400 Bad Request response.

Permissions

A user can remove themselves as a node contributor. Otherwise, only project administrators can remove contributors.

Returns

If the request is successful, no content is returned.

If the request is unsuccessful, a JSON object with an errors key containing information about the failure will be returned. Refer to the list of error codes to understand why this request may have failed. Some common error cases:

  • 405 Method Not Allowed: If write access to this node has been restricted, a contributor removing themselves is still permitted, but attempting to remove a different contributor will return this error with the message "This action is no longer available. Contact support if you have any questions."
delete/nodes/{node_id}/contributors/{user_id}/

Path parameters

node_idstring required

The unique identifier of the node.

user_idstring required

The unique identifier of the user.

Response

No content