TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company Client secrets Update Client Secret

Update Client Secret

On this page

GraphQL endpoint: /company

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

Query

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

Variables

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

Response

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