{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kinde Account API Keys Permissions API",
    "version": "1"
  },
  "items": [
    {
      "info": {
        "name": "Permissions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/account_api/v1/permissions",
            "params": [
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 10 if parameter not sent."
              },
              {
                "name": "starting_after",
                "value": "",
                "type": "query",
                "description": "The ID of the permission to start after."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns all the permissions the user has\n"
        },
        {
          "info": {
            "name": "List Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/permissions",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field and order to sort the result by."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 10 if parameter not sent."
              },
              {
                "name": "next_token",
                "value": "",
                "type": "query",
                "description": "A string to get the next page of results if there are more results."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "The returned list can be sorted by permission name or permission ID in ascending or descending order. The number of records to return at a time can also be controlled using the `page_size` query string parameter.\n\n<div>\n  <code>read:permissions</code>\n</div>\n"
        },
        {
          "info": {
            "name": "Create Permission",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/permissions",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new permission.\n\n<div>\n  <code>create:permissions</code>\n</div>\n"
        },
        {
          "info": {
            "name": "Update Permission",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/v1/permissions/:permission_id",
            "params": [
              {
                "name": "permission_id",
                "value": "",
                "type": "path",
                "description": "The identifier for the permission."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update permission\n\n<div>\n  <code>update:permissions</code>\n</div>\n"
        },
        {
          "info": {
            "name": "Delete Permission",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v1/permissions/:permission_id",
            "params": [
              {
                "name": "permission_id",
                "value": "",
                "type": "path",
                "description": "The identifier for the permission."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete permission\n\n<div>\n  <code>delete:permissions</code>\n</div>\n"
        }
      ]
    }
  ],
  "bundled": true
}