Gatana logoGatana Docs
Routesv2CredentialsId

/credentials/{id}

Delete a credential. Requires the delete permission on the credential

DELETE
/credentials/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

ID of the credential

Response Body

application/json

curl -X DELETE "https://YOUR_ORG_ID.gatana.ai/api/v2/credentials/string"
{
  "credentials": [
    {
      "id": "string",
      "tenantId": "string",
      "scope": "server",
      "userId": "string",
      "profileId": "string",
      "lastUsedAt": "string",
      "authorizedAt": "string",
      "type": "oauth",
      "createdAt": "string",
      "updatedAt": "string",
      "serverSlug": "string",
      "userEmail": "string",
      "userName": "string",
      "profileName": "string"
    }
  ]
}