Skip to content

updateServiceAccount

Update the specified service account.

Arguments

Argument Type Description
input (required) UpdateServiceAccountInput! Input for updating a service account.

Returns

UpdateServiceAccountReply!

Sample

mutation UpdateServiceAccount($input: UpdateServiceAccountInput!) {
  updateServiceAccount(input: $input) {
    clientId
    description
    lastLogin
    name
  }
}
{
  "input": {
    "id": "example-string"
  }
}
{
  "data": {
    "updateServiceAccount": {
      "clientId": "example-string",
      "description": "example-string",
      "lastLogin": "2024-01-01T00:00:00.000Z",
      "name": "example-string"
    }
  }
}