{
  "info": {
    "_postman_id": "f222e2c6-59ee-4965-a0e7-3f32fff26f98",
    "name": "Atlassian teams/",
    "description": "Needs description.\n\nContact Support:\n Name: Bitbucket Support\n Email: support@bitbucket.org",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:05:53.000Z",
    "updatedAt": "2026-06-05T15:05:53.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-f222e2c6-59ee-4965-a0e7-3f32fff26f98"
  },
  "item": [
    {
      "name": "teams",
      "item": [
        {
          "name": "{username}",
          "item": [
            {
              "name": "pipelines_config",
              "item": [
                {
                  "name": "variables",
                  "item": [
                    {
                      "name": "{variable_uuid}",
                      "item": [
                        {
                          "name": "Atlassian Get A Variable For A Team",
                          "id": "45c122df-207c-4cba-8c3b-e73072a13125",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables",
                                ":variable_uuid"
                              ],
                              "variable": [
                                {
                                  "id": "3d82631e-faa2-4aa8-8a41-a5a65410d155",
                                  "key": "username",
                                  "value": "<string>",
                                  "description": "(Required) The account."
                                },
                                {
                                  "id": "b9ba6158-90af-426a-a456-59117f0da269",
                                  "key": "variable_uuid",
                                  "value": "<string>",
                                  "description": "(Required) The UUID of the variable to retrieve."
                                }
                              ]
                            },
                            "description": "Retrieve a team level variable.<br>This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
                          },
                          "response": [
                            {
                              "id": "68cb18c8-f81f-47fc-8d47-fe8f4cb8e12e",
                              "name": "The variable.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "teams",
                                    ":username",
                                    "pipelines_config",
                                    "variables",
                                    ":variable_uuid"
                                  ],
                                  "variable": [
                                    {
                                      "key": "username"
                                    },
                                    {
                                      "key": "variable_uuid"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"uuid\": \"<string>\",\n  \"key\": \"<string>\",\n  \"value\": \"<string>\",\n  \"secured\": \"<boolean>\"\n}",
                              "createdAt": "2026-06-05T15:05:54.000Z",
                              "updatedAt": "2026-06-05T15:05:54.000Z",
                              "uid": "35240-68cb18c8-f81f-47fc-8d47-fe8f4cb8e12e"
                            },
                            {
                              "id": "3e3e6602-adb3-421c-87d5-a4f9c5023c91",
                              "name": "The account or variable with the given UUID was not found.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "teams",
                                    ":username",
                                    "pipelines_config",
                                    "variables",
                                    ":variable_uuid"
                                  ],
                                  "variable": [
                                    {
                                      "key": "username"
                                    },
                                    {
                                      "key": "variable_uuid"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                              "createdAt": "2026-06-05T15:05:54.000Z",
                              "updatedAt": "2026-06-05T15:05:54.000Z",
                              "uid": "35240-3e3e6602-adb3-421c-87d5-a4f9c5023c91"
                            }
                          ],
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-45c122df-207c-4cba-8c3b-e73072a13125"
                        },
                        {
                          "name": "Atlassian Update A Variable For A Team",
                          "id": "594da4d1-94f8-40a3-ae4b-527589f779c0",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables",
                                ":variable_uuid"
                              ],
                              "variable": [
                                {
                                  "id": "c197dcc6-be6b-4a49-846c-de0dfdbb2081",
                                  "key": "username",
                                  "value": "<string>",
                                  "description": "(Required) The account."
                                },
                                {
                                  "id": "d0e4b01e-410b-4984-8981-eb952e62929d",
                                  "key": "variable_uuid",
                                  "value": "<string>",
                                  "description": "(Required) The UUID of the variable."
                                }
                              ]
                            },
                            "description": "Update a team level variable.<br>This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
                          },
                          "response": [
                            {
                              "id": "a7a82cab-bbf8-4c8b-a48a-97fbfdc838c2",
                              "name": "The variable was updated.",
                              "originalRequest": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "teams",
                                    ":username",
                                    "pipelines_config",
                                    "variables",
                                    ":variable_uuid"
                                  ],
                                  "variable": [
                                    {
                                      "key": "username"
                                    },
                                    {
                                      "key": "variable_uuid"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"uuid\": \"<string>\",\n  \"key\": \"<string>\",\n  \"value\": \"<string>\",\n  \"secured\": \"<boolean>\"\n}",
                              "createdAt": "2026-06-05T15:05:54.000Z",
                              "updatedAt": "2026-06-05T15:05:54.000Z",
                              "uid": "35240-a7a82cab-bbf8-4c8b-a48a-97fbfdc838c2"
                            },
                            {
                              "id": "3444133a-9824-45f6-9e8f-c26c629e237a",
                              "name": "The account or the variable was not found.",
                              "originalRequest": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "teams",
                                    ":username",
                                    "pipelines_config",
                                    "variables",
                                    ":variable_uuid"
                                  ],
                                  "variable": [
                                    {
                                      "key": "username"
                                    },
                                    {
                                      "key": "variable_uuid"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                              "createdAt": "2026-06-05T15:05:54.000Z",
                              "updatedAt": "2026-06-05T15:05:54.000Z",
                              "uid": "35240-3444133a-9824-45f6-9e8f-c26c629e237a"
                            }
                          ],
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-594da4d1-94f8-40a3-ae4b-527589f779c0"
                        },
                        {
                          "name": "Atlassian Delete A Variable For A Team",
                          "id": "518895aa-8e32-4a7e-a62d-4a88031196fb",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables",
                                ":variable_uuid"
                              ],
                              "variable": [
                                {
                                  "id": "5b1bd9ae-9e81-4eb5-aa8c-70eaa9b034fc",
                                  "key": "username",
                                  "value": "<string>",
                                  "description": "(Required) The account."
                                },
                                {
                                  "id": "a125d8e9-a2ab-449b-a022-0581ce2387ae",
                                  "key": "variable_uuid",
                                  "value": "<string>",
                                  "description": "(Required) The UUID of the variable to delete."
                                }
                              ]
                            },
                            "description": "Delete a team level variable.<br>This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
                          },
                          "response": [
                            {
                              "id": "af2619a9-e7a0-4c0a-b719-5eb81a5d4bbf",
                              "name": "The variable was deleted",
                              "originalRequest": {
                                "method": "DELETE",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "teams",
                                    ":username",
                                    "pipelines_config",
                                    "variables",
                                    ":variable_uuid"
                                  ],
                                  "variable": [
                                    {
                                      "key": "username"
                                    },
                                    {
                                      "key": "variable_uuid"
                                    }
                                  ]
                                }
                              },
                              "status": "No Content",
                              "code": 204,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:05:54.000Z",
                              "updatedAt": "2026-06-05T15:05:54.000Z",
                              "uid": "35240-af2619a9-e7a0-4c0a-b719-5eb81a5d4bbf"
                            },
                            {
                              "id": "4aac0462-ce29-418d-bf69-d321d806a33b",
                              "name": "The account or the variable with the provided UUID does not exist.",
                              "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "teams",
                                    ":username",
                                    "pipelines_config",
                                    "variables",
                                    ":variable_uuid"
                                  ],
                                  "variable": [
                                    {
                                      "key": "username"
                                    },
                                    {
                                      "key": "variable_uuid"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                              "createdAt": "2026-06-05T15:05:54.000Z",
                              "updatedAt": "2026-06-05T15:05:54.000Z",
                              "uid": "35240-4aac0462-ce29-418d-bf69-d321d806a33b"
                            }
                          ],
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-518895aa-8e32-4a7e-a62d-4a88031196fb"
                        }
                      ],
                      "id": "c57a7f51-9731-4366-b66a-49ac25f2af07",
                      "createdAt": "2026-06-05T15:05:54.000Z",
                      "updatedAt": "2026-06-05T15:05:54.000Z",
                      "uid": "35240-c57a7f51-9731-4366-b66a-49ac25f2af07"
                    },
                    {
                      "name": "Atlassian List Variables For An Account",
                      "id": "ed9e7aeb-a8ab-4e5e-b368-436259b9a021",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "teams",
                            ":username",
                            "pipelines_config",
                            "variables"
                          ],
                          "variable": [
                            {
                              "id": "ad252477-ab9d-4448-97bf-1cdffb4e2d06",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) The account."
                            }
                          ]
                        },
                        "description": "Find account level variables.<br>This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
                      },
                      "response": [
                        {
                          "id": "2b61d010-a0a2-46c8-97b7-c63db834f7f3",
                          "name": "The found account level variables.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"page\": \"<integer>\",\n  \"values\": [\n    {\n      \"uuid\": \"<string>\",\n      \"key\": \"<string>\",\n      \"value\": \"<string>\",\n      \"secured\": \"<boolean>\"\n    },\n    {\n      \"uuid\": \"<string>\",\n      \"key\": \"<string>\",\n      \"value\": \"<string>\",\n      \"secured\": \"<boolean>\"\n    }\n  ],\n  \"size\": \"<integer>\",\n  \"pagelen\": \"<integer>\",\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-2b61d010-a0a2-46c8-97b7-c63db834f7f3"
                        }
                      ],
                      "createdAt": "2026-06-05T15:05:54.000Z",
                      "updatedAt": "2026-06-05T15:05:54.000Z",
                      "uid": "35240-ed9e7aeb-a8ab-4e5e-b368-436259b9a021"
                    },
                    {
                      "name": "Atlassian Create A Variable For A User",
                      "id": "6b9680b5-8085-4d80-93bf-6d91c7dbd2f8",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "teams",
                            ":username",
                            "pipelines_config",
                            "variables"
                          ],
                          "variable": [
                            {
                              "id": "63c5d4e7-12e0-4cf3-88b1-4a9e2af3be4f",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) The account."
                            }
                          ]
                        },
                        "description": "Create an account level variable.<br>This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
                      },
                      "response": [
                        {
                          "id": "90920b36-66f8-481a-a028-e7e5435fae3c",
                          "name": "The created variable.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "The URL of the newly created pipeline variable.",
                                "type": "text/plain"
                              },
                              "key": "Location",
                              "value": "<string>"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"uuid\": \"<string>\",\n  \"key\": \"<string>\",\n  \"value\": \"<string>\",\n  \"secured\": \"<boolean>\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-90920b36-66f8-481a-a028-e7e5435fae3c"
                        },
                        {
                          "id": "94decfcc-2131-48f6-bfe9-27c0bb492d57",
                          "name": "The account does not exist.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-94decfcc-2131-48f6-bfe9-27c0bb492d57"
                        },
                        {
                          "id": "f5269718-08b3-490c-920c-4120e98f520c",
                          "name": "A variable with the provided key already exists.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/pipelines_config/variables",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "pipelines_config",
                                "variables"
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Conflict",
                          "code": 409,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-f5269718-08b3-490c-920c-4120e98f520c"
                        }
                      ],
                      "createdAt": "2026-06-05T15:05:54.000Z",
                      "updatedAt": "2026-06-05T15:05:54.000Z",
                      "uid": "35240-6b9680b5-8085-4d80-93bf-6d91c7dbd2f8"
                    }
                  ],
                  "id": "0fc8215b-3cb8-4e72-8bd9-6deaf78580f5",
                  "createdAt": "2026-06-05T15:05:54.000Z",
                  "updatedAt": "2026-06-05T15:05:54.000Z",
                  "uid": "35240-0fc8215b-3cb8-4e72-8bd9-6deaf78580f5"
                }
              ],
              "id": "a0469001-5f62-4a84-a216-b6c721dcf577",
              "createdAt": "2026-06-05T15:05:54.000Z",
              "updatedAt": "2026-06-05T15:05:54.000Z",
              "uid": "35240-a0469001-5f62-4a84-a216-b6c721dcf577"
            },
            {
              "name": "search",
              "item": [
                {
                  "name": "code",
                  "item": [
                    {
                      "name": "Atlassian Search For Code In A Team S Repositories",
                      "id": "31a2f3d1-29b8-467b-8b69-c64c6e31c9b9",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "teams",
                            ":username",
                            "search",
                            "code"
                          ],
                          "query": [
                            {
                              "description": "(Required) The search query",
                              "key": "search_query",
                              "value": "<string>"
                            },
                            {
                              "description": "Which page of the search results to retrieve",
                              "key": "page",
                              "value": "1"
                            },
                            {
                              "description": "How many search results to retrieve per page",
                              "key": "pagelen",
                              "value": "10"
                            }
                          ],
                          "variable": [
                            {
                              "id": "072b947f-18d7-49bd-b69f-4d44f8266c5b",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) The account to search in; either the username or the UUID in curly braces"
                            }
                          ]
                        },
                        "description": "Search for code in the repositories of the specified team.<br><br>Note that searches can match in the file's text (`content_matches`),<br>the path (`path_matches`), or both.<br><br>You can use the same syntax for the search query as in the UI.<br>E.g. to search for \"foo\" only within the repository \"demo\",<br>use the query parameter `search_query=foo+repo:demo`.<br><br>Similar to other APIs, you can request more fields using a<br>`fields` query parameter. E.g. to get some more information about<br>the repository of matched files, use the query parameter<br>`search_query=foo&fields=%2Bvalues.file.commit.repository`<br>(the `%2B` is a URL-encoded `+`).<br><br>Try `fields=%2Bvalues.*.*.*.*` to get an idea what's possible.<br>"
                      },
                      "response": [
                        {
                          "id": "b0ecd8fe-5ac3-424c-a08b-80d926c2b602",
                          "name": "Successful search",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"size\": \"<long>\",\n  \"page\": \"<integer>\",\n  \"pagelen\": \"<integer>\",\n  \"query_substituted\": \"<boolean>\",\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\",\n  \"values\": [\n    {\n      \"value\": \"reference #/components/schemas/search_code_search_result not found in the OpenAPI spec\"\n    },\n    {\n      \"value\": \"reference #/components/schemas/search_code_search_result not found in the OpenAPI spec\"\n    }\n  ]\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-b0ecd8fe-5ac3-424c-a08b-80d926c2b602"
                        },
                        {
                          "id": "f5871a39-0d8d-447a-9089-606b30188f6f",
                          "name": "If the search request was invalid due to one of the\nfollowing reasons:\n\n* the specified type of target account doesn''t match the actual\naccount type;\n\n* malformed pagination properties;\n\n* missing or malformed search query, in the latter case an error\nke",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-f5871a39-0d8d-447a-9089-606b30188f6f"
                        },
                        {
                          "id": "ce3045d6-af3f-435f-948f-0f7501d8a7b5",
                          "name": "Search is not enabled for the requested team, navigate to [https://bitbucket.org/search](https://bitbucket.org/search) to turn it on",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-ce3045d6-af3f-435f-948f-0f7501d8a7b5"
                        },
                        {
                          "id": "e84bf138-af20-440d-a678-527b32b62154",
                          "name": "Too many requests, try again later",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"value\": \"reference #/components/schemas/error not found in the OpenAPI spec\"\n}",
                          "createdAt": "2026-06-05T15:05:54.000Z",
                          "updatedAt": "2026-06-05T15:05:54.000Z",
                          "uid": "35240-e84bf138-af20-440d-a678-527b32b62154"
                        }
                      ],
                      "createdAt": "2026-06-05T15:05:54.000Z",
                      "updatedAt": "2026-06-05T15:05:54.000Z",
                      "uid": "35240-31a2f3d1-29b8-467b-8b69-c64c6e31c9b9"
                    }
                  ],
                  "id": "207eccd3-b9b9-4a4c-9300-6893948b41b8",
                  "createdAt": "2026-06-05T15:05:54.000Z",
                  "updatedAt": "2026-06-05T15:05:54.000Z",
                  "uid": "35240-207eccd3-b9b9-4a4c-9300-6893948b41b8"
                }
              ],
              "id": "76aa665b-e685-4d2b-b834-447d4e9ca8f2",
              "createdAt": "2026-06-05T15:05:54.000Z",
              "updatedAt": "2026-06-05T15:05:54.000Z",
              "uid": "35240-76aa665b-e685-4d2b-b834-447d4e9ca8f2"
            }
          ],
          "id": "5c066742-0e22-4457-ad28-1057b9234084",
          "createdAt": "2026-06-05T15:05:54.000Z",
          "updatedAt": "2026-06-05T15:05:54.000Z",
          "uid": "35240-5c066742-0e22-4457-ad28-1057b9234084"
        }
      ],
      "id": "1382f6c5-0535-459b-99d6-75e7ef7138b4",
      "createdAt": "2026-06-05T15:05:54.000Z",
      "updatedAt": "2026-06-05T15:05:54.000Z",
      "uid": "35240-1382f6c5-0535-459b-99d6-75e7ef7138b4"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.bitbucket.org/2.0"
    }
  ]
}