You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-reference/beta/api/driveitem-discardcheckout.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,12 @@ Don't supply a request body for this method.
62
62
63
63
If successful, this action returns a `204 No Content` response code.
64
64
65
+
### Error responses
66
+
67
+
The request returns `400 Bad Request` if the file isn't checked out. Requests made with delegated access return `423 Locked` if another user has the file checked out. Requests made with application access can discard any checkout.
68
+
69
+
For more information about how errors are returned, see [Error responses][error-response].
70
+
65
71
## Examples
66
72
67
73
### Request
@@ -121,4 +127,4 @@ The following example shows the response.
0 commit comments