How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cockroach Labs SQLUsers API

Manage SQL users for a cluster, including creating users, listing users, and updating SQL user passwords.

Cockroach Labs SQLUsers API is one of 26 APIs that Cockroach Labs publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include SQLUsers. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 4 operations across 3 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version 2024-09-16.

Requests are made against a single base URL, https://cockroachlabs.cloud.

4 operations 3 paths 6 schemas 1 DELETE1 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2024-09-16
Base URL
https://cockroachlabs.cloud
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Cockroach Labs SQLUsers API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token authentication. Generate a token in the CockroachDB Cloud Console under Organization Settings API Access.

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 1 DELETE, 1 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

SQLUsers 4

Manage SQL users for a cluster, including creating users, listing users, and updating SQL user passwords.

GET
/api/v1/clusters/{cluster_id}/sql-users
List SQL users
ListSQLUsers 5 params → 200401404
POST
/api/v1/clusters/{cluster_id}/sql-users
Create a SQL user
CreateSQLUser 1 param body → 200400401
DELETE
/api/v1/clusters/{cluster_id}/sql-users/{name}
Delete a SQL user
DeleteSQLUser 2 params → 200401404
PUT
/api/v1/clusters/{cluster_id}/sql-users/{name}/password
Update SQL user password
UpdateSQLUserPassword 2 params body → 200400401404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are PaginationResponse (3 properties), Error (3 properties), CreateSQLUserRequest (2 properties), ListSQLUsersResponse (2 properties). Each schema is shown below with its type and property counts.

Error
object
Standard error response returned by the API.
3 properties
ListSQLUsersResponse
object
Paginated list of SQL users for a cluster.
2 properties
UpdateSQLUserPasswordRequest
object
Request body for updating a SQL user's password.
1 property 1 required
PaginationResponse
object
Pagination metadata included in list responses.
3 properties
SQLUser
object
Represents a SQL user on a CockroachDB cluster.
1 property
CreateSQLUserRequest
object
Request body for creating a new SQL user.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cockroach-labs-sqlusers-api-openapi.yml Raw ↑

Other APIs Cockroach Labs publishes across the network.

Cockroach Labs APIKeys API
Cockroach Labs AuditLogs API
Cockroach Labs Auth API
Cockroach Labs BackupRestore API
Cockroach Labs Billing API
Cockroach Labs Clusters API
Cockroach Labs CMEK API
Cockroach Labs Databases API
Cockroach Labs EgressRules API
Cockroach Labs Folders API
Cockroach Labs Health API
Cockroach Labs IPAllowlists API
Where this information came from

This is an independent, third-party profile of Cockroach Labs SQLUsers API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.