---
title: "Update Resource"
method: PATCH
path: "/v1/installations/{integrationConfigurationId}/resources/{resourceId}"
tags: ["marketplace"]
---

# Update Resource

`PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}`

This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates.

## Path parameters

- `integrationConfigurationId` string, required
- `resourceId` string, required

## Request body

- object
  - `ownership` 'owned' | 'linked' | 'sandbox'
  - `name` string
  - `status` 'ready' | 'pending' | 'onboarding' | 'suspended' | 'resumed' | 'uninstalled' | 'error'
  - `metadata` object
  - `billingPlan` object
    - `id` string, required
    - `type` 'prepayment' | 'subscription', required
    - `name` string, required
    - `description` string
    - `paymentMethodRequired` boolean
    - `cost` string
    - `details` object[]
      - `label` string, required
      - `value` string
    - `highlightedDetails` object[]
      - `label` string, required
      - `value` string
    - `effectiveDate` string
  - `notification` union
    - object
      - `level` 'info' | 'warn' | 'error', required
      - `title` string, required
      - `message` string
      - `href` string, uri
    - string
  - `extras` object
  - `secrets` union
    - object[]
      - `name` string, required
      - `value` string, required
      - `prefix` string
      - `environmentOverrides` object — A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
        - `development` string — Value used for development environment.
        - `preview` string — Value used for preview environment.
        - `production` string — Value used for production environment.
    - object
      - `secrets` object[], required
        - `name` string, required
        - `value` string, required
        - `prefix` string
        - `environmentOverrides` object — A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
          - `development` string — Value used for development environment.
          - `preview` string — Value used for preview environment.
          - `production` string — Value used for production environment.
      - `partial` boolean — If true, will only overwrite the provided secrets instead of replacing all secrets.

## Response `200`

- object
  - `name` string, required

## Other responses

- `400` — One of the provided values in the request body is invalid. One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `404`
- `409`
- `410`
- `422`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
