{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aptible API v1 Accounts API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "list accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{baseUrl}/stacks/:stack_id/accounts",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "stack_id",
                "value": "",
                "type": "path",
                "description": "stack_id"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Current page of paginated results"
              },
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page"
              }
            ]
          },
          "docs": "Returns a paginated list of accounts belonging to the specified stack."
        },
        {
          "info": {
            "name": "list accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{baseUrl}/accounts",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Current page of paginated results"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page"
              },
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              }
            ]
          },
          "docs": "Returns a paginated list of all accounts."
        },
        {
          "info": {
            "name": "create account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{baseUrl}/accounts",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new account within the organization."
        },
        {
          "info": {
            "name": "show account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{baseUrl}/accounts/:id",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              }
            ]
          },
          "docs": "Returns the details of a specific account by ID."
        },
        {
          "info": {
            "name": "update account",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{baseUrl}/accounts/:id",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an account's attributes."
        },
        {
          "info": {
            "name": "update account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{baseUrl}/accounts/:id",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Partially updates an account's attributes."
        },
        {
          "info": {
            "name": "delete account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{baseUrl}/accounts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Deletes an account by ID."
        },
        {
          "info": {
            "name": "find account by handle",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{baseUrl}/find/account",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "handle",
                "value": "",
                "type": "query",
                "description": "account handle"
              },
              {
                "name": "no_embed",
                "value": "",
                "type": "query",
                "description": "When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present."
              }
            ]
          },
          "docs": "Returns the account matching the specified handle."
        }
      ]
    }
  ],
  "bundled": true
}