# cockroach-cloud-sdk-go **Repository Path**: mirrors_cockroachdb/cockroach-cloud-sdk-go ## Basic Information - **Project Name**: cockroach-cloud-sdk-go - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-17 - **Last Updated**: 2023-08-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Go API client for CockroachDB Cloud API ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2024-09-16 - Package version: 6.0.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://support.cockroachlabs.com](https://support.cockroachlabs.com) ## Installation Install the package: ```shell go get github.com/cockroachdb/cockroach-cloud-sdk-go/v6 ``` Import the package: ```golang import "github.com/cockroachdb/cockroach-cloud-sdk-go/v6/pkg/client" ``` ## Example Client Usage ```golang // Create a default Configuration object. clientConfig := client.NewConfiguration(apiKey) // Create a new client. client := client.NewClient(clientConfig) // Create a new service. service := client.NewService(client) requiredPathParam = "a_cluster_id" requiredRequest := &client.OperationRequest{...} optionalParams := &client.OperationOptions{...} // Execute the request apiResponse, httpResponse, err := := service.Operation( context.Background(), requiredPathParam, requiredRequest, optionalParams, ) if err != nil { // Process error } if apiResponse != nil { respJSON, err := apiResponse.MarshalJSON() if err != nil { // Process error } fmt.Println(string(respJSON)) } ``` ## Documentation for API Endpoints All URIs are relative to *https://cockroachlabs.cloud* API | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- [APIKeysApi](docs/APIKeysApi.md) | **CreateApiKey** | **Post** /api/v1/api-keys | Create a new API Key [APIKeysApi](docs/APIKeysApi.md) | **DeleteApiKey** | **Delete** /api/v1/api-keys/{id} | Delete an API Key [APIKeysApi](docs/APIKeysApi.md) | **GetApiKey** | **Get** /api/v1/api-keys/{id} | Get an API Key by ID [APIKeysApi](docs/APIKeysApi.md) | **ListApiKeys** | **Get** /api/v1/api-keys | List API Keys [APIKeysApi](docs/APIKeysApi.md) | **UpdateApiKey** | **Patch** /api/v1/api-keys/{id} | Update an API Key [AuditLogsApi](docs/AuditLogsApi.md) | **ListAuditLogs** | **Get** /api/v1/auditlogevents | List audit logs [BackupRestoreApi](docs/BackupRestoreApi.md) | **GetBackupConfiguration** | **Get** /api/v1/clusters/{cluster_id}/backups-config | Get the backup configuration for a cluster [BackupRestoreApi](docs/BackupRestoreApi.md) | **UpdateBackupConfiguration** | **Patch** /api/v1/clusters/{cluster_id}/backups-config | Update the backup configuration for a cluster [BillingApi](docs/BillingApi.md) | **GetInvoice** | **Get** /api/v1/invoices/{invoice_id} | Get a specific invoice for an organization [BillingApi](docs/BillingApi.md) | **ListInvoices** | **Get** /api/v1/invoices | List invoices for a given organization [ClientCACertificatesApi](docs/ClientCACertificatesApi.md) | **DeleteClientCACert** | **Delete** /api/v1/clusters/{cluster_id}/client-ca-cert | Delete Client CA Cert for a cluster [ClientCACertificatesApi](docs/ClientCACertificatesApi.md) | **GetClientCACert** | **Get** /api/v1/clusters/{cluster_id}/client-ca-cert | Get Client CA Cert information for a cluster [ClientCACertificatesApi](docs/ClientCACertificatesApi.md) | **SetClientCACert** | **Post** /api/v1/clusters/{cluster_id}/client-ca-cert | Set Client CA Cert for a cluster [ClientCACertificatesApi](docs/ClientCACertificatesApi.md) | **UpdateClientCACert** | **Patch** /api/v1/clusters/{cluster_id}/client-ca-cert | Update Client CA Cert for a cluster [ClusterDisruptionApi](docs/ClusterDisruptionApi.md) | **GetClusterDisruptionInfo** | **Get** /api/v1/clusters/{cluster_id}/disrupt | Get disruption specifications for a cluster [ClusterDisruptionApi](docs/ClusterDisruptionApi.md) | **UpdateClusterDisruption** | **Put** /api/v1/clusters/{cluster_id}/disrupt | Update disruption specifications for a cluster [ClustersApi](docs/ClustersApi.md) | **CreateCluster** | **Post** /api/v1/clusters | Create and initialize a new cluster [ClustersApi](docs/ClustersApi.md) | **DeleteCluster** | **Delete** /api/v1/clusters/{cluster_id} | Delete a cluster and all of its data [ClustersApi](docs/ClustersApi.md) | **GetCluster** | **Get** /api/v1/clusters/{cluster_id} | Get extended information about a cluster [ClustersApi](docs/ClustersApi.md) | **GetConnectionString** | **Get** /api/v1/clusters/{cluster_id}/connection-string | Get a formatted generic connection string for a cluster [ClustersApi](docs/ClustersApi.md) | **ListAvailableRegions** | **Get** /api/v1/clusters/available-regions | List the regions available for new clusters and nodes [ClustersApi](docs/ClustersApi.md) | **ListClusterNodes** | **Get** /api/v1/clusters/{cluster_id}/nodes | List nodes for a cluster [ClustersApi](docs/ClustersApi.md) | **ListClusters** | **Get** /api/v1/clusters | List clusters owned by an organization [ClustersApi](docs/ClustersApi.md) | **ListMajorClusterVersions** | **Get** /api/v1/cluster-versions | List available major cluster versions [ClustersApi](docs/ClustersApi.md) | **UpdateCluster** | **Patch** /api/v1/clusters/{cluster_id} | Scale, edit or upgrade a cluster [CustomerManagedEncryptionKeysApi](docs/CustomerManagedEncryptionKeysApi.md) | **EnableCMEKSpec** | **Post** /api/v1/clusters/{cluster_id}/cmek | Enable CMEK for a cluster [CustomerManagedEncryptionKeysApi](docs/CustomerManagedEncryptionKeysApi.md) | **GetCMEKClusterInfo** | **Get** /api/v1/clusters/{cluster_id}/cmek | Get CMEK-related information for a cluster [CustomerManagedEncryptionKeysApi](docs/CustomerManagedEncryptionKeysApi.md) | **UpdateCMEKSpec** | **Put** /api/v1/clusters/{cluster_id}/cmek | Enable or update the CMEK spec for a cluster [CustomerManagedEncryptionKeysApi](docs/CustomerManagedEncryptionKeysApi.md) | **UpdateCMEKStatus** | **Patch** /api/v1/clusters/{cluster_id}/cmek | Update the CMEK-related status for a cluster [DatabasesApi](docs/DatabasesApi.md) | **CreateDatabase** | **Post** /api/v1/clusters/{cluster_id}/databases | Create a new database [DatabasesApi](docs/DatabasesApi.md) | **DeleteDatabase** | **Delete** /api/v1/clusters/{cluster_id}/databases/{name} | Delete a database [DatabasesApi](docs/DatabasesApi.md) | **EditDatabase** | **Patch** /api/v1/clusters/{cluster_id}/databases/{name} | Update a database [DatabasesApi](docs/DatabasesApi.md) | **EditDatabase2** | **Patch** /api/v1/clusters/{cluster_id}/databases | Update a database [DatabasesApi](docs/DatabasesApi.md) | **ListDatabases** | **Get** /api/v1/clusters/{cluster_id}/databases | List databases for a cluster [EgressRulesApi](docs/EgressRulesApi.md) | **AddEgressRule** | **Post** /api/v1/clusters/{cluster_id}/networking/egress-rules | Add an egress rule [EgressRulesApi](docs/EgressRulesApi.md) | **DeleteEgressRule** | **Delete** /api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id} | Delete an existing egress rule [EgressRulesApi](docs/EgressRulesApi.md) | **EditEgressRule** | **Patch** /api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id} | Edit an existing egress rule [EgressRulesApi](docs/EgressRulesApi.md) | **GetEgressRule** | **Get** /api/v1/clusters/{cluster_id}/networking/egress-rules/{rule_id} | Get an existing egress rule [EgressRulesApi](docs/EgressRulesApi.md) | **ListEgressRules** | **Get** /api/v1/clusters/{cluster_id}/networking/egress-rules | List all egress rules associated with a cluster [EgressRulesApi](docs/EgressRulesApi.md) | **SetEgressTrafficPolicy** | **Post** /api/v1/clusters/{cluster_id}/networking/egress-rules/egress-traffic-policy | Outbound traffic management [FoldersApi](docs/FoldersApi.md) | **CreateFolder** | **Post** /api/v1/folders | Create a folder [FoldersApi](docs/FoldersApi.md) | **DeleteFolder** | **Delete** /api/v1/folders/{folder_id} | Delete a folder [FoldersApi](docs/FoldersApi.md) | **GetFolder** | **Get** /api/v1/folders/{folder_id} | Get folder info for a folder [FoldersApi](docs/FoldersApi.md) | **ListFolderContents** | **Get** /api/v1/folders/{folder_id}/contents | List contents of a folder [FoldersApi](docs/FoldersApi.md) | **ListFolders** | **Get** /api/v1/folders | List folders owned by an organization [FoldersApi](docs/FoldersApi.md) | **UpdateFolder** | **Patch** /api/v1/folders/{folder_id} | Update a folder [IPAllowlistsApi](docs/IPAllowlistsApi.md) | **AddAllowlistEntry** | **Post** /api/v1/clusters/{cluster_id}/networking/allowlist | Add a new CIDR address to the IP allowlist [IPAllowlistsApi](docs/IPAllowlistsApi.md) | **AddAllowlistEntry2** | **Put** /api/v1/clusters/{cluster_id}/networking/allowlist/{cidr_ip}/{cidr_mask} | Add a new CIDR address to the IP allowlist [IPAllowlistsApi](docs/IPAllowlistsApi.md) | **DeleteAllowlistEntry** | **Delete** /api/v1/clusters/{cluster_id}/networking/allowlist/{cidr_ip}/{cidr_mask} | Delete an IP allowlist entry [IPAllowlistsApi](docs/IPAllowlistsApi.md) | **ListAllowlistEntries** | **Get** /api/v1/clusters/{cluster_id}/networking/allowlist | Get the IP allowlist and propagation status for a cluster [IPAllowlistsApi](docs/IPAllowlistsApi.md) | **UpdateAllowlistEntry** | **Patch** /api/v1/clusters/{cluster_id}/networking/allowlist/{cidr_ip}/{cidr_mask} | Update an IP allowlist entry [JWTIssuersApi](docs/JWTIssuersApi.md) | **AddJWTIssuer** | **Post** /api/v1/jwt-issuers | Add a JWT Issuer [JWTIssuersApi](docs/JWTIssuersApi.md) | **DeleteJWTIssuer** | **Delete** /api/v1/jwt-issuers/{id} | Delete a JWT Issuer [JWTIssuersApi](docs/JWTIssuersApi.md) | **GetJWTIssuer** | **Get** /api/v1/jwt-issuers/{id} | Get a JWT Issuer [JWTIssuersApi](docs/JWTIssuersApi.md) | **ListJWTIssuers** | **Get** /api/v1/jwt-issuers | List all JWT Issuers [JWTIssuersApi](docs/JWTIssuersApi.md) | **UpdateJWTIssuer** | **Patch** /api/v1/jwt-issuers/{id} | Update a JWT Issuer [LogExportApi](docs/LogExportApi.md) | **DeleteLogExport** | **Delete** /api/v1/clusters/{cluster_id}/logexport | Delete the Log Export configuration for a cluster [LogExportApi](docs/LogExportApi.md) | **EnableLogExport** | **Post** /api/v1/clusters/{cluster_id}/logexport | Create or update the Log Export configuration for a cluster [LogExportApi](docs/LogExportApi.md) | **GetLogExportInfo** | **Get** /api/v1/clusters/{cluster_id}/logexport | Get the Log Export configuration for a cluster [MaintenanceWindowsApi](docs/MaintenanceWindowsApi.md) | **DeleteMaintenanceWindow** | **Delete** /api/v1/clusters/{cluster_id}/maintenance-window | Delete the maintenance window for a cluster [MaintenanceWindowsApi](docs/MaintenanceWindowsApi.md) | **GetMaintenanceWindow** | **Get** /api/v1/clusters/{cluster_id}/maintenance-window | Get the maintenance window for a cluster [MaintenanceWindowsApi](docs/MaintenanceWindowsApi.md) | **SetMaintenanceWindow** | **Put** /api/v1/clusters/{cluster_id}/maintenance-window | Set the maintenance window for a cluster [MetricExportApi](docs/MetricExportApi.md) | **DeleteCloudWatchMetricExport** | **Delete** /api/v1/clusters/{cluster_id}/metricexport/cloudwatch | Delete the CloudWatch Metric Export configuration for a cluster [MetricExportApi](docs/MetricExportApi.md) | **DeleteDatadogMetricExport** | **Delete** /api/v1/clusters/{cluster_id}/metricexport/datadog | Delete the Datadog Metric Export configuration for a cluster [MetricExportApi](docs/MetricExportApi.md) | **DeletePrometheusMetricExport** | **Delete** /api/v1/clusters/{cluster_id}/metricexport/prometheus | Disable Prometheus Metric Export for a cluster [MetricExportApi](docs/MetricExportApi.md) | **EnableCloudWatchMetricExport** | **Post** /api/v1/clusters/{cluster_id}/metricexport/cloudwatch | Create or update the CloudWatch Metric Export configuration for a cluster [MetricExportApi](docs/MetricExportApi.md) | **EnableDatadogMetricExport** | **Post** /api/v1/clusters/{cluster_id}/metricexport/datadog | Create or update the Datadog Metric Export configuration for a cluster [MetricExportApi](docs/MetricExportApi.md) | **EnablePrometheusMetricExport** | **Post** /api/v1/clusters/{cluster_id}/metricexport/prometheus | Enable Prometheus Metric Export for a cluster [MetricExportApi](docs/MetricExportApi.md) | **GetCloudWatchMetricExportInfo** | **Get** /api/v1/clusters/{cluster_id}/metricexport/cloudwatch | Get the CloudWatch Metric Export configuration for a cluster [MetricExportApi](docs/MetricExportApi.md) | **GetDatadogMetricExportInfo** | **Get** /api/v1/clusters/{cluster_id}/metricexport/datadog | Get the Datadog Metric Export configuration for a cluster [MetricExportApi](docs/MetricExportApi.md) | **GetPrometheusMetricExportInfo** | **Get** /api/v1/clusters/{cluster_id}/metricexport/prometheus | Get the Prometheus Metric Export configuration for a cluster [OrganizationsApi](docs/OrganizationsApi.md) | **GetOrganizationInfo** | **Get** /api/v1/organization | Get information about the caller's organization [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **CreatePhysicalReplicationStream** | **Post** /api/v1/physical-replication-streams | Create a physical replication stream [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **CreateReplicationStream** | **Post** /api/v1/replication-streams | Create a replication stream [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **GetPhysicalReplicationStream** | **Get** /api/v1/physical-replication-streams/{id} | Get a physical replication stream [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **GetReplicationStream** | **Get** /api/v1/replication-streams/{id} | Get a replication stream [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **ListPhysicalReplicationStreams** | **Get** /api/v1/physical-replication-streams | List physical replication streams [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **ListReplicationStreams** | **Get** /api/v1/replication-streams | List replication streams [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **UpdatePhysicalReplicationStream** | **Patch** /api/v1/physical-replication-streams/{id} | Update a physical replication stream [PhysicalClusterReplicationApi](docs/PhysicalClusterReplicationApi.md) | **UpdateReplicationStream** | **Patch** /api/v1/replication-streams/{id} | Update a replication stream [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **AddPrivateEndpointConnection** | **Post** /api/v1/clusters/{cluster_id}/networking/private-endpoint-connections | Add a connection to a cluster's private endpoint service. [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **AddPrivateEndpointTrustedOwner** | **Post** /api/v1/clusters/{cluster_id}/networking/private-endpoint-trusted-owners | Add a private endpoint trusted owner to a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **CreatePrivateEndpointServices** | **Post** /api/v1/clusters/{cluster_id}/networking/private-endpoint-services | Create all PrivateEndpointServices for a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **DeletePrivateEndpointConnection** | **Delete** /api/v1/clusters/{cluster_id}/networking/private-endpoint-connections/{endpoint_id} | Delete a connection from a cluster's private endpoint service. [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **GetPrivateEndpointTrustedOwner** | **Get** /api/v1/clusters/{cluster_id}/networking/private-endpoint-trusted-owners/{owner_id} | Get a private endpoint trusted owner entry for a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **ListAwsEndpointConnections** | **Get** /api/v1/clusters/{cluster_id}/networking/aws-endpoint-connections | List all AwsEndpointConnections for a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **ListPrivateEndpointConnections** | **Get** /api/v1/clusters/{cluster_id}/networking/private-endpoint-connections | List all connections to a cluster's private endpoint service. [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **ListPrivateEndpointServices** | **Get** /api/v1/clusters/{cluster_id}/networking/private-endpoint-services | List all PrivateEndpointServices for a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **ListPrivateEndpointTrustedOwners** | **Get** /api/v1/clusters/{cluster_id}/networking/private-endpoint-trusted-owners | List all private endpoint trusted owners for a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **RemovePrivateEndpointTrustedOwner** | **Delete** /api/v1/clusters/{cluster_id}/networking/private-endpoint-trusted-owners/{owner_id} | Remove a private endpoint trusted owner from a cluster [PrivateEndpointServicesApi](docs/PrivateEndpointServicesApi.md) | **SetAwsEndpointConnectionState** | **Patch** /api/v1/clusters/{cluster_id}/networking/aws-endpoint-connections/{endpoint_id} | Set the AWS Endpoint Connection state [RoleManagementApi](docs/RoleManagementApi.md) | **AddUserToRole** | **Post** /api/v1/roles/{user_id}/{resource_type}/{resource_id}/{role_name} | Add a role to a user or service account [RoleManagementApi](docs/RoleManagementApi.md) | **GetAllRolesForUser** | **Get** /api/v1/roles/{user_id} | Get all Role Grants for a user [RoleManagementApi](docs/RoleManagementApi.md) | **GetPersonUsersByEmail** | **Get** /api/v1/users/persons-by-email | Search person users by email address [RoleManagementApi](docs/RoleManagementApi.md) | **ListRoleGrants** | **Get** /api/v1/roles | List all RoleGrants [RoleManagementApi](docs/RoleManagementApi.md) | **RemoveUserFromRole** | **Delete** /api/v1/roles/{user_id}/{resource_type}/{resource_id}/{role_name} | Remove a role from a user or service account [RoleManagementApi](docs/RoleManagementApi.md) | **SetRolesForUser** | **Put** /api/v1/roles/{user_id} | Replace the roles for a user or service account with exactly those provided [SCIMApi](docs/SCIMApi.md) | **CreateGroup** | **Post** /api/scim/v2/Groups | Create a group [SCIMApi](docs/SCIMApi.md) | **CreateUser** | **Post** /api/scim/v2/Users | Create a user [SCIMApi](docs/SCIMApi.md) | **DeleteGroup** | **Delete** /api/scim/v2/Groups/{id} | Delete a group based on ID [SCIMApi](docs/SCIMApi.md) | **DeleteUser** | **Delete** /api/scim/v2/Users/{id} | Delete a user based on ID [SCIMApi](docs/SCIMApi.md) | **GetGroup** | **Get** /api/scim/v2/Groups/{id} | Get a group by ID [SCIMApi](docs/SCIMApi.md) | **GetGroup2** | **Put** /api/scim/v2/Groups/{id}/.search | Search a group by ID (Deprecated) [SCIMApi](docs/SCIMApi.md) | **GetGroups** | **Get** /api/scim/v2/Groups | List groups [SCIMApi](docs/SCIMApi.md) | **GetGroups2** | **Put** /api/scim/v2/Groups/.search | Search groups (Deprecated) [SCIMApi](docs/SCIMApi.md) | **GetResourceType** | **Get** /api/scim/v2/ResourceTypes/{resourceId} | Get a SCIM resource type by ID [SCIMApi](docs/SCIMApi.md) | **GetResourceTypes** | **Get** /api/scim/v2/ResourceTypes | List the SCIM resource types [SCIMApi](docs/SCIMApi.md) | **GetSchema** | **Get** /api/scim/v2/Schemas/{schemaId} | Get a SCIM schema by ID [SCIMApi](docs/SCIMApi.md) | **GetSchemas** | **Get** /api/scim/v2/Schemas | List the SCIM schemas [SCIMApi](docs/SCIMApi.md) | **GetServiceProviderConfig** | **Get** /api/scim/v2/ServiceProviderConfig | Return the SCIM Service Provider configuration [SCIMApi](docs/SCIMApi.md) | **GetUser** | **Get** /api/scim/v2/Users/{id} | Get a user by ID [SCIMApi](docs/SCIMApi.md) | **GetUser2** | **Put** /api/scim/v2/Users/{id}/.search | Search for a user by ID (Deprecated) [SCIMApi](docs/SCIMApi.md) | **GetUsers** | **Get** /api/scim/v2/Users | List Users [SCIMApi](docs/SCIMApi.md) | **GetUsers2** | **Put** /api/scim/v2/Users/.search | Search User (Deprecated) [SCIMApi](docs/SCIMApi.md) | **PatchGroup** | **Patch** /api/scim/v2/Groups/{id} | Patch a group by supplying partial updates [SCIMApi](docs/SCIMApi.md) | **PatchUser** | **Patch** /api/scim/v2/Users/{id} | Patch a user by supplying partial updates [SCIMApi](docs/SCIMApi.md) | **SearchGroup** | **Post** /api/scim/v2/Groups/{id}/.search | Search a group by ID [SCIMApi](docs/SCIMApi.md) | **SearchGroups** | **Post** /api/scim/v2/Groups/.search | Search groups [SCIMApi](docs/SCIMApi.md) | **SearchUser** | **Post** /api/scim/v2/Users/{id}/.search | Search for a user by ID [SCIMApi](docs/SCIMApi.md) | **SearchUsers** | **Post** /api/scim/v2/Users/.search | Search Users [SCIMApi](docs/SCIMApi.md) | **UpdateGroup** | **Put** /api/scim/v2/Groups/{id} | Update a group by supplying all values of the user object [SCIMApi](docs/SCIMApi.md) | **UpdateUser** | **Put** /api/scim/v2/Users/{id} | Update a user by supplying all values of the user object [SQLUsersApi](docs/SQLUsersApi.md) | **CreateSQLUser** | **Post** /api/v1/clusters/{cluster_id}/sql-users | Create a new SQL user [SQLUsersApi](docs/SQLUsersApi.md) | **DeleteSQLUser** | **Delete** /api/v1/clusters/{cluster_id}/sql-users/{name} | Delete a SQL user [SQLUsersApi](docs/SQLUsersApi.md) | **ListSQLUsers** | **Get** /api/v1/clusters/{cluster_id}/sql-users | List SQL users for a cluster [SQLUsersApi](docs/SQLUsersApi.md) | **UpdateSQLUserPassword** | **Put** /api/v1/clusters/{cluster_id}/sql-users/{name}/password | Update a SQL user's password [ServiceAccountsApi](docs/ServiceAccountsApi.md) | **CreateServiceAccount** | **Post** /api/v1/service-accounts | Create a service account [ServiceAccountsApi](docs/ServiceAccountsApi.md) | **DeleteServiceAccount** | **Delete** /api/v1/service-accounts/{id} | Delete a service account [ServiceAccountsApi](docs/ServiceAccountsApi.md) | **GetServiceAccount** | **Get** /api/v1/service-accounts/{id} | Get a service account by ID [ServiceAccountsApi](docs/ServiceAccountsApi.md) | **ListServiceAccounts** | **Get** /api/v1/service-accounts | List service accounts for an organization [ServiceAccountsApi](docs/ServiceAccountsApi.md) | **UpdateServiceAccount** | **Patch** /api/v1/service-accounts/{id} | Update a service account [VersionDeferralApi](docs/VersionDeferralApi.md) | **GetClusterVersionDeferral** | **Get** /api/v1/clusters/{cluster_id}/version-deferral | Get the version upgrade deferral policy for a cluster. [VersionDeferralApi](docs/VersionDeferralApi.md) | **SetClusterVersionDeferral** | **Put** /api/v1/clusters/{cluster_id}/version-deferral | Set the version upgrade deferral policy for a cluster ## Author support@cockroachlabs.com