Skip to main content
POST
/
document
/
remove-collaborator
Remove a document collaborator
curl --request POST \
  --url https://app.myhero.so/document/remove-collaborator \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "documentId": "<string>",
  "userId": "<string>"
}
'
{
  "data": {
    "success": true
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
documentId
string
required
Minimum string length: 1
userId
string
required
Minimum string length: 1

Response

200 response

data
object
required