{
  "info": {
    "_postman_id": "d3c3ec09-65a6-4fa2-88de-3fbe9fa0fd18",
    "name": "CockroachDB Cloud APIKeys ServiceAccounts API",
    "description": "The CockroachDB Cloud API is a REST interface that provides programmatic access to manage the lifecycle of clusters within a CockroachDB Cloud organization. It enables developers and operators to create, configure, scale, and delete CockroachDB Serverless and Dedicated clusters without using the web console. The API supports cluster provisioning, node management, network authorization, customer-managed encryption keys, backup and restore, log and metric export, role management, and folder organization. Authentication is handled via bearer tokens, and the API is rate-limited to 10 requests per second per user.\n\nContact Support:\n Name: Cockroach Labs Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:24:00.000Z",
    "updatedAt": "2026-07-28T01:24:01.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d3c3ec09-65a6-4fa2-88de-3fbe9fa0fd18"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "v1",
          "item": [
            {
              "name": "service-accounts",
              "item": [
                {
                  "name": "{id}",
                  "item": [
                    {
                      "name": "Get a service account",
                      "id": "2e548501-19bf-4259-871b-6882a0c35d87",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts",
                            ":id"
                          ],
                          "variable": [
                            {
                              "id": "48ed259e-3eeb-4549-95a8-b1a50814477e",
                              "key": "id",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the resource."
                            }
                          ]
                        },
                        "description": "Retrieves details of a specific service account by ID."
                      },
                      "response": [
                        {
                          "id": "32d15f45-ebe9-4569-a7c3-ab05f5236048",
                          "name": "Service account retrieved successfully.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"creator_id\": \"<string>\",\n  \"created_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-32d15f45-ebe9-4569-a7c3-ab05f5236048"
                        },
                        {
                          "id": "4540ec7b-22ee-4e64-ab81-3ab520628630",
                          "name": "Authentication credentials are missing or invalid.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-4540ec7b-22ee-4e64-ab81-3ab520628630"
                        },
                        {
                          "id": "11cc3092-711d-4363-8717-c75d0fbdd4aa",
                          "name": "The requested resource was not found.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-11cc3092-711d-4363-8717-c75d0fbdd4aa"
                        }
                      ],
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-2e548501-19bf-4259-871b-6882a0c35d87"
                    },
                    {
                      "name": "Update a service account",
                      "id": "d8dbc796-3a05-4799-92a5-e51a296e1c60",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts",
                            ":id"
                          ],
                          "variable": [
                            {
                              "id": "1e0de170-e3af-4e90-a50c-44fe27e7007f",
                              "key": "id",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the resource."
                            }
                          ]
                        },
                        "description": "Updates the name or description of an existing service account. Requires ORG_ADMIN role."
                      },
                      "response": [
                        {
                          "id": "5295d4a0-b1c5-4ee7-b937-ba58ecf12732",
                          "name": "Service account updated successfully.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"creator_id\": \"<string>\",\n  \"created_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-5295d4a0-b1c5-4ee7-b937-ba58ecf12732"
                        },
                        {
                          "id": "17673b32-f0e3-47fe-80b6-0cf17fe192a8",
                          "name": "The request body or parameters are invalid.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-17673b32-f0e3-47fe-80b6-0cf17fe192a8"
                        },
                        {
                          "id": "7ce47401-b722-4c04-8614-f24ae4e7d363",
                          "name": "Authentication credentials are missing or invalid.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-7ce47401-b722-4c04-8614-f24ae4e7d363"
                        },
                        {
                          "id": "d1d40253-e7fa-4b95-82fe-f6a2ec4ec308",
                          "name": "The requested resource was not found.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-d1d40253-e7fa-4b95-82fe-f6a2ec4ec308"
                        }
                      ],
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-d8dbc796-3a05-4799-92a5-e51a296e1c60"
                    },
                    {
                      "name": "Delete a service account",
                      "id": "dea50392-5ce2-40f1-bee1-911425d20a51",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts",
                            ":id"
                          ],
                          "variable": [
                            {
                              "id": "1668826b-9788-4e93-a738-e9cd2814ef8f",
                              "key": "id",
                              "value": "<string>",
                              "description": "(Required) Unique identifier of the resource."
                            }
                          ]
                        },
                        "description": "Permanently deletes a service account by ID. All associated API keys are also revoked. Requires ORG_ADMIN role."
                      },
                      "response": [
                        {
                          "id": "9645b4a1-7006-4415-b96d-e9753ca7602f",
                          "name": "Service account deleted successfully.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"creator_id\": \"<string>\",\n  \"created_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-9645b4a1-7006-4415-b96d-e9753ca7602f"
                        },
                        {
                          "id": "d723ad11-258b-499c-90d8-89480ec5d0e7",
                          "name": "Authentication credentials are missing or invalid.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-d723ad11-258b-499c-90d8-89480ec5d0e7"
                        },
                        {
                          "id": "325a58a9-9d8f-4cb2-abcd-771795819b8d",
                          "name": "The requested resource was not found.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v1/service-accounts/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v1",
                                "service-accounts",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:24:01.000Z",
                          "updatedAt": "2026-07-28T01:24:01.000Z",
                          "uid": "35240-325a58a9-9d8f-4cb2-abcd-771795819b8d"
                        }
                      ],
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-dea50392-5ce2-40f1-bee1-911425d20a51"
                    }
                  ],
                  "id": "806762c5-235e-4117-975d-02543970176f",
                  "createdAt": "2026-07-28T01:24:01.000Z",
                  "updatedAt": "2026-07-28T01:24:01.000Z",
                  "uid": "35240-806762c5-235e-4117-975d-02543970176f"
                },
                {
                  "name": "List service accounts",
                  "id": "380c790f-b73f-4716-b668-1bc3184f3bb1",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/v1/service-accounts?pagination.page=<string>&pagination.limit=<integer>&pagination.as_of_time=<dateTime>&pagination.sort_order=ASC",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "v1",
                        "service-accounts"
                      ],
                      "query": [
                        {
                          "description": "Page number for paginated results, starting from 1.",
                          "key": "pagination.page",
                          "value": "<string>"
                        },
                        {
                          "description": "Maximum number of results to return per page.",
                          "key": "pagination.limit",
                          "value": "<integer>"
                        },
                        {
                          "description": "RFC3339 timestamp to return results as they were at a specific point in time (time-travel query).",
                          "key": "pagination.as_of_time",
                          "value": "<dateTime>"
                        },
                        {
                          "description": "Sort direction for paginated results. Accepted values are ASC and DESC.",
                          "key": "pagination.sort_order",
                          "value": "ASC"
                        }
                      ]
                    },
                    "description": "Returns a list of service accounts in the organization. Supports pagination."
                  },
                  "response": [
                    {
                      "id": "124bbbb6-22ef-4288-8a58-23349051c758",
                      "name": "List of service accounts returned successfully.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts?pagination.page=<string>&pagination.limit=<integer>&pagination.as_of_time=<dateTime>&pagination.sort_order=ASC",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts"
                          ],
                          "query": [
                            {
                              "description": "Page number for paginated results, starting from 1.",
                              "key": "pagination.page",
                              "value": "<string>"
                            },
                            {
                              "description": "Maximum number of results to return per page.",
                              "key": "pagination.limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "RFC3339 timestamp to return results as they were at a specific point in time (time-travel query).",
                              "key": "pagination.as_of_time",
                              "value": "<dateTime>"
                            },
                            {
                              "description": "Sort direction for paginated results. Accepted values are ASC and DESC.",
                              "key": "pagination.sort_order",
                              "value": "ASC"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"service_accounts\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"creator_id\": \"<string>\",\n      \"created_at\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"creator_id\": \"<string>\",\n      \"created_at\": \"<dateTime>\"\n    }\n  ],\n  \"pagination\": {\n    \"next\": \"<string>\",\n    \"last\": \"<string>\",\n    \"time\": \"<dateTime>\"\n  }\n}",
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-124bbbb6-22ef-4288-8a58-23349051c758"
                    },
                    {
                      "id": "28664350-5006-417d-9c08-fc5410b3ae80",
                      "name": "Authentication credentials are missing or invalid.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts?pagination.page=<string>&pagination.limit=<integer>&pagination.as_of_time=<dateTime>&pagination.sort_order=ASC",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts"
                          ],
                          "query": [
                            {
                              "description": "Page number for paginated results, starting from 1.",
                              "key": "pagination.page",
                              "value": "<string>"
                            },
                            {
                              "description": "Maximum number of results to return per page.",
                              "key": "pagination.limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "RFC3339 timestamp to return results as they were at a specific point in time (time-travel query).",
                              "key": "pagination.as_of_time",
                              "value": "<dateTime>"
                            },
                            {
                              "description": "Sort direction for paginated results. Accepted values are ASC and DESC.",
                              "key": "pagination.sort_order",
                              "value": "ASC"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-28664350-5006-417d-9c08-fc5410b3ae80"
                    }
                  ],
                  "createdAt": "2026-07-28T01:24:01.000Z",
                  "updatedAt": "2026-07-28T01:24:01.000Z",
                  "uid": "35240-380c790f-b73f-4716-b668-1bc3184f3bb1"
                },
                {
                  "name": "Create a service account",
                  "id": "7e6e5802-a581-42fa-af33-64a57a5b68ba",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/api/v1/service-accounts",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "v1",
                        "service-accounts"
                      ]
                    },
                    "description": "Creates a new service account for machine-to-machine authentication. Requires ORG_ADMIN role."
                  },
                  "response": [
                    {
                      "id": "292a16a1-9be6-4a0a-92fa-567692f8ad55",
                      "name": "Service account created successfully.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"creator_id\": \"<string>\",\n  \"created_at\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-292a16a1-9be6-4a0a-92fa-567692f8ad55"
                    },
                    {
                      "id": "e4a49955-30ca-4e24-a0c2-f67af8b4d8bf",
                      "name": "The request body or parameters are invalid.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-e4a49955-30ca-4e24-a0c2-f67af8b4d8bf"
                    },
                    {
                      "id": "17f0c931-96ae-4e48-aed4-507e6984776c",
                      "name": "Authentication credentials are missing or invalid.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/v1/service-accounts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v1",
                            "service-accounts"
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:24:01.000Z",
                      "updatedAt": "2026-07-28T01:24:01.000Z",
                      "uid": "35240-17f0c931-96ae-4e48-aed4-507e6984776c"
                    }
                  ],
                  "createdAt": "2026-07-28T01:24:01.000Z",
                  "updatedAt": "2026-07-28T01:24:01.000Z",
                  "uid": "35240-7e6e5802-a581-42fa-af33-64a57a5b68ba"
                }
              ],
              "id": "995c961d-e5a1-4835-bd60-1d4efc088c1f",
              "createdAt": "2026-07-28T01:24:01.000Z",
              "updatedAt": "2026-07-28T01:24:01.000Z",
              "uid": "35240-995c961d-e5a1-4835-bd60-1d4efc088c1f"
            }
          ],
          "id": "1225e0bd-8b53-479a-a279-0403c1ca77c7",
          "createdAt": "2026-07-28T01:24:01.000Z",
          "updatedAt": "2026-07-28T01:24:01.000Z",
          "uid": "35240-1225e0bd-8b53-479a-a279-0403c1ca77c7"
        }
      ],
      "id": "c9c6ca25-a827-44eb-b55c-062fd5cb6cde",
      "createdAt": "2026-07-28T01:24:01.000Z",
      "updatedAt": "2026-07-28T01:24:01.000Z",
      "uid": "35240-c9c6ca25-a827-44eb-b55c-062fd5cb6cde"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://cockroachlabs.cloud"
    }
  ]
}