v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1361617.2 KB
notes

Deletes one or more permissions on the note. The specified entities will immediately lose access. A permission with the OWNER role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.

post/v1/{+parent}/permissions:batchDelete

Path parameters

parentstring required

The parent resource shared by all permissions being deleted. Format: notes/{note} If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match this field.

Request body

namesstring[]

Required. The names of the permissions to delete. Format: notes/{note}/permissions/{permission}

Response

Successful response