Remove a collaborator
DELETE
/v1/artifacts/{id}/collaborators/{email}
const url = 'https://shareout.site/v1/artifacts/example/collaborators/hello%40example.com';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://shareout.site/v1/artifacts/example/collaborators/hello%40example.com \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Artifact ID (e.g. art_abc123).
email
required
string format: email
Responses
Section titled “ Responses ”Removed
Cannot remove the artifact owner
Media type application/json
object
success
required
boolean
error
required
Human-readable message.
string
code
required
Machine-readable error code.
string
Example
{ "success": false}