---
title: "Update"
method: POST
path: "/api/v1/iam/personal_clients/{id}"
tags: ["Personal Client"]
---

# Update

`POST /api/v1/iam/personal_clients/{id}`

Update modifies an existing personal client credential. Use the update mask to specify which fields to change.

## Path parameters

- `id` string, required — The unique ID of the personal client credential.

## Request body

- C1ApiIamV1PersonalClientServiceUpdateRequestInput — The PersonalClientServiceUpdateRequest message.
  - `client` C1ApiIamV1PersonalClient — The PersonalClient message contains information about a presonal client credential.
    - `allowSourceCidr` string[], nullable — If set, only allows the CIDRs in the array to use the credential. Accepts IPv4 (e.g. 10.0.0.0/24) or IPv6 (e.g. 2001:db8::/32) CIDRs.
    - `clientId` string — The clientID of the credential.
    - `createdAt` string, date-time, nullable
    - `deletedAt` string, date-time, nullable
    - `displayName` string — The display name of the personal client credential.
    - `expiresTime` string, date-time, nullable
    - `id` string — The unique ID of the personal client credential.
    - `lastUsedAt` string, date-time, nullable
    - `scopedRoles` string[], nullable — scoped_roles provides a list of IAM Roles that this OAuth2 Client's API permissions are reduced to. The permissions granted to OAuth2 Client are AND'ed against the owning User's own permissions.
    - `updatedAt` string, date-time, nullable
    - `userId` string — The ID of the user that this credential is created for.
  - `updateMask` string, nullable

## Response `200`

Successful response

- C1ApiIamV1PersonalClientServiceUpdateResponse — The PersonalClientServiceUpdateResponse message.
  - `client` C1ApiIamV1PersonalClient — The PersonalClient message contains information about a presonal client credential.
    - `allowSourceCidr` string[], nullable — If set, only allows the CIDRs in the array to use the credential. Accepts IPv4 (e.g. 10.0.0.0/24) or IPv6 (e.g. 2001:db8::/32) CIDRs.
    - `clientId` string — The clientID of the credential.
    - `createdAt` string, date-time, nullable
    - `deletedAt` string, date-time, nullable
    - `displayName` string — The display name of the personal client credential.
    - `expiresTime` string, date-time, nullable
    - `id` string — The unique ID of the personal client credential.
    - `lastUsedAt` string, date-time, nullable
    - `scopedRoles` string[], nullable — scoped_roles provides a list of IAM Roles that this OAuth2 Client's API permissions are reduced to. The permissions granted to OAuth2 Client are AND'ed against the owning User's own permissions.
    - `updatedAt` string, date-time, nullable
    - `userId` string — The ID of the user that this credential is created for.

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/f2cf3228f366/schema)
