Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Namespace: microsoft.graph
Release a printJob held in the cloud for secure release to print it at the target printer.
API availability
This API is available in the following national cloud deployments.
| Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
|---|---|---|---|
| ✅ | ✅ | ✅ | ❌ |
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
| Permission type | Least privileged permission | Higher privileged permissions |
|---|---|---|
| Delegated (work or school account) | PrintJob.ReadWriteBasic | PrintJob.ReadWrite, PrintJob.ReadWrite.All, PrintJob.ReadWriteBasic.All |
| Delegated (personal Microsoft account) | Not supported. | Not supported. |
| Application | Not supported. | Not supported. |
HTTP request
POST /print/printers/{printerId}/jobs/release
Request headers
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
Request body
In the request body, supply a JSON representation of the parameters.
The following table lists the parameters that are required when you call this action.
| Parameter | Type | Description |
|---|---|---|
| jobId | String | The identifier of the print job to release. Required. |
Response
If successful, this action returns a 200 OK response code and a printJob object in the response body.
Examples
Request
The following example shows a request.
POST https://graph.microsoft.com/v1.0/print/printers/d5f2a1b0-1111-2222-3333-444455556666/jobs/release
Content-Type: application/json
{
"jobId": "146"
}
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.printJob",
"id": "146",
"releasedDateTime": "2026-08-03T18:05:00Z",
"status": {
"state": "processing",
"description": "The job was released and is printing"
}
}