{
  "opencollection": "1.0.0",
  "info": {
    "name": "Britive Services API Documentation Application Profiles - Policies API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Application Profiles - Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of all policies for the specified profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenantURL}/api/paps/:papId/policies",
            "params": [
              {
                "name": "papId",
                "value": "",
                "type": "path"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "compactResponse",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Parameter to specify the page number of the records to retrieve"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "parameter to specify the number of records to retrieve per page"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "parameter to specify the sort parameter and direction"
              }
            ]
          },
          "docs": "Get a list of all policies for the specified profile"
        },
        {
          "info": {
            "name": "Create a policy for a specified profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tenantURL}/api/paps/:papId/policies",
            "params": [
              {
                "name": "papId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a policy for a specified profile"
        },
        {
          "info": {
            "name": "Set orders for policies associated with profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tenantURL}/api/paps/:papId/policies/order",
            "params": [
              {
                "name": "papId",
                "value": "",
                "type": "path",
                "description": "ID of the profile"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Set orders for policies associated with profile"
        },
        {
          "info": {
            "name": "Get details of a policy for a specified profile and policy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenantURL}/api/paps/:papId/policies/:policyId",
            "params": [
              {
                "name": "papId",
                "value": "",
                "type": "path"
              },
              {
                "name": "policyId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get details of a policy for a specified profile and policy"
        },
        {
          "info": {
            "name": "Update policy details of a specified policy of a specified profile",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{tenantURL}/api/paps/:papId/policies/:policyId",
            "params": [
              {
                "name": "papId",
                "value": "",
                "type": "path"
              },
              {
                "name": "policyId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update policy details of a specified policy of a specified profile"
        },
        {
          "info": {
            "name": "Delete a specified policy created for a specified profile",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{tenantURL}/api/paps/:papId/policies/:policyId",
            "params": [
              {
                "name": "papId",
                "value": "",
                "type": "path"
              },
              {
                "name": "policyId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a specified policy created for a specified profile"
        }
      ]
    }
  ],
  "bundled": true
}