Gatana logoGatana Docs
RoutesConnected clientsClientid

/connected-clients/{clientId}

Update the name or the attached profiles of a connected client

PATCH
/connected-clients/{clientId}
AuthorizationBearer <token>

In: header

Path Parameters

clientId*string

OAuth client ID of the connection

Request Body

application/json

label?string

Name for the connection; pass an empty string to remove it

Lengthlength <= 200
profileIds?array<>

Profiles to attach, replacing whatever was attached before; empty detaches all

Response Body

application/json

curl -X PATCH "https://YOUR_ORG_ID.gatana.ai/api/v1/connected-clients/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "client": {
    "clientId": "string",
    "name": "string",
    "label": "string",
    "clientInfoName": "string",
    "clientInfoVersion": "string",
    "kind": "cli",
    "isActive": true,
    "profileIds": [
      "string"
    ],
    "firstSeenAt": "string",
    "lastAuthorizedAt": "string",
    "lastUsedAt": "string"
  }
}