Skip to main content
DELETE
/
api
/
v1
/
vault
/
projects
/
{project_id}
/
users
Remove Project Users
curl --request DELETE \
  --url https://api.harvey.ai/api/v1/vault/projects/{project_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    "jsmith@example.com"
  ]
}
'
{
  "status": "COMPLETED",
  "data": {
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "removed": [
      "jsmith@example.com"
    ],
    "failed": [
      {
        "email": "jsmith@example.com",
        "reason": "<string>"
      }
    ]
  }
}

Permissions

Requires Vault API and Vault sharing permissions.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string<uuid>
required

The unique identifier of the Vault project

Body

application/json
emails
string<email>[]
required

List of workspace user email addresses whose direct shares should be removed from the project

Response

Successfully processed removal request

status
enum<string>
required

Status of the request

Available options:
COMPLETED
data
object
required