Skip to main content
POST
/
api
/
v1
/
vault
/
projects
/
{project_id}
/
users
Update Project Users
curl --request POST \
  --url https://api.harvey.ai/api/v1/vault/projects/{project_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "users": [
    {
      "user_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
      "access_level": "MANAGE"
    },
    {
      "user_id": "11111111-2222-3333-4444-555566667777",
      "access_level": "READ"
    }
  ]
}
'
{
  "status": "COMPLETED",
  "data": {
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "users_added": 123,
    "users_updated": 123,
    "users_removed": 123
  }
}

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
users
object[]
required

The list of users and their desired access levels to add or update. Users omitted from this list are left unchanged.

Response

Project users successfully updated

status
enum<string>
required

Status of the request

Available options:
COMPLETED
data
object
required