Assign Users & Groups to Roles on a Single Document
POST https://{{vaultDNS}}/api/{{version}}/objects/documents/:{id}/roles
https://developer.veevavault.com/api/24.1/#Assign_Users_Groups_to_Role
Note: If you need to assign users and groups to roles on more than one document or binder, it is best practice to use the bulk API.
Assign users and groups to roles on a single document or binder.
Request Body
[{"name"=>"role_name__v.users", "value"=>"", "datatype"=>"null"}, {"name"=>"role_name__v.groups", "value"=>"", "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
Content-Type | string |