---
title: "PATCH /subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default"
method: PATCH
path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default"
tags: ["OracleSubscriptions"]
---

# PATCH /subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default

`PATCH /subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default`

Update a OracleSubscription

## Parameters

- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Request body

- OracleSubscriptionUpdate — The type used for update operations of the OracleSubscription.
  - `plan` PlanUpdate — ResourcePlanTypeUpdate model definition
    - `name` string — A user defined name of the 3rd Party Artifact that is being procured.
    - `publisher` string — The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
    - `product` string — The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
    - `promotionCode` string — A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
    - `version` string — The version of the desired product/artifact.
  - `properties` OracleSubscriptionUpdateProperties — The updatable properties of the OracleSubscription.
    - `productCode` string — Product code for the term unit
    - `intent` 'Retain' | 'Reset' — Intent enum

## Response `200`

Azure operation completed successfully.

- OracleSubscription — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/oracle-oracle-database.md) · [All operations](https://skmtc.dev/azure/apis/oracle-oracle-database/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/oracle-oracle-database/revisions/58d191295c2f/schema)
