Remove a Permission from an Item.
Only Permissions that are not inherited can be deleted. This means that the inheritedFrom
property must be null
.
DELETE /drive/items/{item-id}/permissions/{permission-id}
DELETE /drive/root:/{item-path}:/permissions/{permission-id}
None.
Do not supply a request body with this method.
Name | Value | Description |
---|---|---|
if-match |
etag |
If this request header is included and the etag provided does not match the current etag on the file, a 412 Precondition Failed response is returned. |
DELETE /drive/items/{item-id}/permissions/{permission-id}
HTTP/1.1 204 No Content
Read the Error responses topic for more information about how errors are returned.