> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/016_client_secrets/004__update_client_secret.md).

# Update Client Secret

GraphQL endpoint: `/company`

Updates a client secret's description. The secret value itself is never modifiable.

## Query

```graphql
mutation ($id: ID!, $description: String!) {
  updateClientSecret(id: $id, description: $description) {
    id
    description
  }
}

```

## Variables

```json
{
  "description": "after",
  "id": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "updateClientSecret": {
      "description": "after",
      "id": "00000000-0000-4000-8000-000000000001"
    }
  }
}
```
