---
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` Context — See [Context Conventions](https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#context-object) for more details.
  - `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

- **2018-07-17** `ddfd6ac124fb` — 1 info
  - added the optional property `dashboard_url` to the response with the `202` status
- **2018-01-23** `176590258a7f` — 2 info
  - added the optional property `description` to the response with the `400` status
  - added the optional property `error` to the response with the `400` status
- **2018-01-19** `0caa6bfec4d2` — 2 warning
  - removed the optional property `description` from the response with the `400` status
  - removed the optional property `error` from the response with the `400` status
- **2018-01-19** `3dae1f5deefb` — 2 info
  - added the optional property `description` to the response with the `400` status
  - added the optional property `error` to the response with the `400` status
- **2018-01-09** `48af75e14707` — 4 breaking
  - the request's body type/format changed from ``/`` to `object`/``
  - the `previous_values` request property type/format changed from ``/`` to `object`/``
  - the response's body type/format changed from ``/`` to `object`/`` for status `202`
  - the response's body type/format changed from ``/`` to `object`/`` for status `422`

[Full 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/293bbd46bda3/schema)
