Previous Next JavaScript must be enabled to correctly display this content

## Update a specific client by client Id

patch

/PASService/rest/services/v1/clients/{clientId}

Updates a client based on the specified client Id

### Request

Path Parameters

- clientId(required): string(guid)
  Client Id

Supported Media Types

- application/json

Request Body - application/json ()
Root Schema : schema
Type: `string`
Back to Top

### Response

#### 204 Response

successful operation
Back to Top

### Examples

This example describes how to update a client partially for the fields given in request body for a specified client by client Id.

Note

Below is the list of Fields that are not allowed for update using PATCH.

- clientId
- type
- updatedDate
- entityType
- companyId

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

    curl -X PUT \
         -H "Accept: application/json" \
         -H "Content-Type: application/json" \
         -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
         -L "http://server:port/PASService/rest/services/v1/clients/D28E06BF-B413-46FB-840F-73E6C2FEE112" \
         -d '{"Use this placeholder to plug-in the example request body given below"}'

Example Request Body

The following shows an example of the request body in JSON format:

    {
      "client": {
        "dateOfBirth": "2020-01-06T00:00:00Z",
        "legalResidenceCountryCode": "US"
      }
    }

Back to Top