# Update a dependency

Update a dependency

Endpoint: PATCH /api/dependencies/{dependencyId}
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `dependencyId` (string, required)
    The unique Salesforce ID of the dependency to update. This is REQUIRED.

## Request fields (application/json):

  - `dependencyId` (string, required)
    The Salesforce ID of the dependency to be updated. REQUIRED.

  - `Summary` (string)
    A short summary describing the dependency. Optional when updating; only provided fields will be updated.

  - `Reference` (string)
    The dependency Reference (Name). Only updated when the AllowReferenceEdit permission is active; otherwise ignored.

  - `Description` (string)
    A detailed description of the dependency. Optional; only updated if provided.

  - `StatusName` (string)
    The Dependency Status. Must be either 'Open' or 'Closed'. Optional; only updated if provided.

  - `DueDate` (string)
    The Date on which this dependency will be due.

  - `CustomFieldsMap` (array)
    A map of Custom Field to Value to be updated on the dependency. Only provided fields will be updated.

  - `CustomFieldsMap.Key` (string)

  - `CustomFieldsMap.Value` (string)

## Response 200:

  - `200` (unknown)
    Success

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

