Skip to content

Commit bc09028

Browse files
authored
Merge pull request #25278 from microsoftgraph/jaalvarez-update-discardcheckout
Adds description of specific errors
2 parents 871ba16 + cc58d82 commit bc09028

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

api-reference/beta/api/driveitem-discardcheckout.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ Don't supply a request body for this method.
6262

6363
If successful, this action returns a `204 No Content` response code.
6464

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+
6571
## Examples
6672

6773
### Request
@@ -121,4 +127,4 @@ The following example shows the response.
121127
HTTP/1.1 204 No content
122128
```
123129

124-
130+
[error-response]: /graph/errors

0 commit comments

Comments
 (0)