{
  "opencollection": "1.0.0",
  "info": {
    "name": "nCino Mortgage Role Permissions API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Role Permissions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "🚧 Retrieve a role's permissions (BETA)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ncinomortgage.com/roles/:role_id/permissions",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "<<glossary:role>> ID."
              }
            ]
          },
          "docs": "> 🚧 Under construction\n> **This endpoint is in beta.** Functionality may change without notice, support is limited, and use in production is not recommended. Your feedback is appreciated.\n\nRetrieve a role's permissions\n\nLists the permission keys currently enabled on the role.\n\nTODO: Remove the line below when endpoint is ready to go live for customers"
        },
        {
          "info": {
            "name": "🚧 Assign permissions to a role (BETA)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ncinomortgage.com/roles/:role_id/permissions",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "<<glossary:role>> ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "> 🚧 Under construction\n> **This endpoint is in beta.** Functionality may change without notice, support is limited, and use in production is not recommended. Your feedback is appreciated.\n\nAssign permissions to a role\n\nAdds the supplied permission keys to the role. Idempotent: keys already\nenabled on the role are left unchanged.\n\nTODO: Remove the line below when endpoint is ready to go live for customers"
        },
        {
          "info": {
            "name": "🚧 Replace a role's permissions (BETA)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.ncinomortgage.com/roles/:role_id/permissions",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "<<glossary:role>> ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "> 🚧 Under construction\n> **This endpoint is in beta.** Functionality may change without notice, support is limited, and use in production is not recommended. Your feedback is appreciated.\n\nReplace a role's permissions\n\nReplaces the role's permission set with exactly the supplied keys.\n\nTODO: Remove the line below when endpoint is ready to go live for customers"
        },
        {
          "info": {
            "name": "🚧 Remove permissions from a role (BETA)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.ncinomortgage.com/roles/:role_id/permissions",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "<<glossary:role>> ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "> 🚧 Under construction\n> **This endpoint is in beta.** Functionality may change without notice, support is limited, and use in production is not recommended. Your feedback is appreciated.\n\nRemove permissions from a role\n\nRemoves the supplied permission keys from the role. Idempotent: keys\nthat are not currently enabled are ignored.\n\nTODO: Remove the line below when endpoint is ready to go live for customers"
        }
      ]
    }
  ],
  "bundled": true
}