{
  "opencollection": "1.0.0",
  "info": {
    "name": "Managed Database for PostgreSQL and MySQL Access Control List Applications API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List applications of an Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scaleway.com/iam/v1alpha1/applications",
            "params": [
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Criteria for sorting results."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Value must be between 1 and 100."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number. Value must be greater than 1."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Name of the application to filter."
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query",
                "description": "ID of the Organization to filter."
              },
              {
                "name": "editable",
                "value": "",
                "type": "query",
                "description": "Defines whether to filter out editable applications or not."
              },
              {
                "name": "application_ids",
                "value": "",
                "type": "query",
                "description": "Filter by list of IDs."
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Filter by tags containing a given string."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "List the applications of an Organization. By default, the applications listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `application_ids`."
        },
        {
          "info": {
            "name": "Create a new application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scaleway.com/iam/v1alpha1/applications",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Create a new application. You must define the `name` parameter in the request."
        },
        {
          "info": {
            "name": "Get a given application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scaleway.com/iam/v1alpha1/applications/:application_id",
            "params": [
              {
                "name": "application_id",
                "value": "",
                "type": "path",
                "description": "ID of the application to find."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve information about an application, specified by the `application_id` parameter. The application's full details, including `id`, `email`, `organization_id`, `status` and `two_factor_enabled` are returned in the response."
        },
        {
          "info": {
            "name": "Update an application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.scaleway.com/iam/v1alpha1/applications/:application_id",
            "params": [
              {
                "name": "application_id",
                "value": "",
                "type": "path",
                "description": "ID of the application to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Update the parameters of an application, including `name` and `description`."
        },
        {
          "info": {
            "name": "Delete an application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.scaleway.com/iam/v1alpha1/applications/:application_id",
            "params": [
              {
                "name": "application_id",
                "value": "",
                "type": "path",
                "description": "ID of the application to delete."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Delete an application. Note that this action is irreversible and will automatically delete the application's API keys. Policies attached to users and applications via this group will no longer apply."
        }
      ]
    }
  ],
  "bundled": true
}