Skip to content

Disable Connection Pooler for a Service

client.projects.services.disablePooler(stringserviceID, ServiceDisablePoolerParams { project_id } params, RequestOptionsoptions?): ServiceDisablePoolerResponse { message }
POST/projects/{project_id}/services/{service_id}/disablePooler

Deactivates the connection pooler for a specific service within a project.

ParametersExpand Collapse
serviceID: string
params: ServiceDisablePoolerParams { project_id }
project_id: string

The unique identifier of the project.

ReturnsExpand Collapse
ServiceDisablePoolerResponse { message }
message?: string

Disable Connection Pooler for a Service

import TigerCloud from 'tiger-cloud';

const client = new TigerCloud({
  apiKey: process.env['TIGER_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.projects.services.disablePooler('d1k5vk7hf2', {
  project_id: 'rp1pz7uyae',
});

console.log(response.message);
{
  "message": "Action completed successfully."
}
Returns Examples
{
  "message": "Action completed successfully."
}