---
title: "Finish job"
method: PATCH
path: "/api/workflow/jobs/{id}/finish"
tags: ["Finish"]
---

# Finish job

`PATCH /api/workflow/jobs/{id}/finish`

## Request

- Base URL: `https://{your-bynder-domain}`
- URL: `https://{your-bynder-domain}/api/workflow/jobs/{id}/finish`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://{your-auth-url}`
    - Client credentials
    - Token URL: `https://{your-bynder-domain}/v6/authentication/oauth2/token` scopes: `JOBAPPROVE`

Requires the JOBAPPROVE security role.

## Path parameters

- `id` string, required

## Request body

- object
  - `status` string
  - `job_id` string

## Response `200`

Ok: Job finished successfully

- object
  - `status` string
  - `job_id` string

## Other responses

- `403`: Forbidden: The user does not have the required permissions for this operation.
- `409`: Conflict: The job is not open (has been finished), the activeStage.status is Approved. Or the job is not on the last stage.

---

[API](https://skmtc.dev/bynder/apis/workflow-jobs-api.md) - [All operations](https://skmtc.dev/bynder/apis/workflow-jobs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bynder/apis/workflow-jobs-api/revisions/759559874d39?raw)
