---
title: "update a service instance"
method: PATCH
path: "/v2/service_instances/{instance_id}"
tags: ["ServiceInstances"]
---

# update a service instance

`PATCH /v2/service_instances/{instance_id}`

## Path parameters

- `instance_id` string, required

## Query parameters

- `accepts_incomplete` boolean

## Headers

- `X-Broker-API-Version` string, required
- `X-Broker-API-Originating-Identity` string

## Request body

- ServiceInstanceUpdateRequest
  - `context` Object
  - `service_id` string, required
  - `plan_id` string
  - `parameters` Object
  - `previous_values` ServiceInstancePreviousValues
    - `service_id` string
    - `plan_id` string
    - `organization_id` string
    - `space_id` string

## Response `200`

OK

- Object

## Other responses

- `202` — Accepted
- `400` — Bad Request
- `422` — Unprocessable entity

## Changes

- **2017-12-04** `72c4e57bd256` — 3 breaking, 9 warning, 1 info
  - the request's body type/format changed from `object`/`` to ``/``
  - the `previous_values` request property type/format changed from `object`/`` to ``/``
  - the response's body type/format changed from `object`/`` to ``/`` for status `422`
  - removed the optional property `dashboard_url` from the response with the `202` status
  - …9 more

[Change history](https://skmtc.dev/cloudfoundry/apis/open-service-broker-api/changes/v2/service_instances/:instance_id/patch.md)

---

[API](https://skmtc.dev/cloudfoundry/apis/open-service-broker-api.md) · [All operations](https://skmtc.dev/cloudfoundry/apis/open-service-broker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudfoundry/open-service-broker-api/revisions/25da35d145fe/schema)
