Qlik Sense Iam Resources API

The iam-resources API from Qlik Sense — 3 operation(s) for iam-resources.

Operations 7

GET /api/core/auth-settings Get authentication settings #
PATCH /api/core/auth-settings Update authentication settings #
GET /api/core/ip-policies List IP policies #
POST /api/core/ip-policies Create an IP policy #
GET /api/core/ip-policies/{id} Get an IP policy #
PATCH /api/core/ip-policies/{id} Update an IP policy #
DELETE /api/core/ip-policies/{id} Delete an IP policy #

Documentation

📖
Documentation
https://qlik.dev/apis/rest/analytics/apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/change-stores/
📖
APIReference
https://qlik.dev/apis/rest/analytics/change-stores/
📖
Documentation
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
APIReference
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-links/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-links/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
Documentation
https://qlik.dev/apis/rest/api-keys/
📖
APIReference
https://qlik.dev/apis/rest/api-keys/
📖
Documentation
https://qlik.dev/apis/rest/apps/
📖
APIReference
https://qlik.dev/apis/rest/apps/
📖
Documentation
https://qlik.dev/apis/rest/assistants/
📖
APIReference
https://qlik.dev/apis/rest/assistants/
📖
Documentation
https://qlik.dev/apis/rest/audits/
📖
APIReference
https://qlik.dev/apis/rest/audits/
📖
Documentation
https://qlik.dev/apis/rest/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/automations/
📖
APIReference
https://qlik.dev/apis/rest/automations/
📖
Documentation
https://qlik.dev/apis/rest/automl-deployments/
📖
APIReference
https://qlik.dev/apis/rest/automl-deployments/
📖
Documentation
https://qlik.dev/apis/rest/automl-predictions/
📖
APIReference
https://qlik.dev/apis/rest/automl-predictions/
📖
Documentation
https://qlik.dev/apis/rest/banners/
📖
APIReference
https://qlik.dev/apis/rest/banners/
📖
Documentation
https://qlik.dev/apis/rest/brands/
📖
APIReference
https://qlik.dev/apis/rest/brands/
📖
Documentation
https://qlik.dev/apis/rest/collections/
📖
APIReference
https://qlik.dev/apis/rest/collections/
📖
Documentation
https://qlik.dev/apis/rest/conditions/
📖
APIReference
https://qlik.dev/apis/rest/conditions/
📖
Documentation
https://qlik.dev/apis/rest/consumption/
📖
APIReference
https://qlik.dev/apis/rest/consumption/
📖
Documentation
https://qlik.dev/apis/rest/core/auth-settings/
📖
APIReference
https://qlik.dev/apis/rest/core/auth-settings/
📖
Documentation
https://qlik.dev/apis/rest/core/ip-policies/
📖
APIReference
https://qlik.dev/apis/rest/core/ip-policies/
📖
Documentation
https://qlik.dev/apis/rest/csp-origins/
📖
APIReference
https://qlik.dev/apis/rest/csp-origins/
📖
Documentation
https://qlik.dev/apis/rest/csrf-token/
📖
APIReference
https://qlik.dev/apis/rest/csrf-token/
📖
Documentation
https://qlik.dev/apis/rest/data-alerts/
📖
APIReference
https://qlik.dev/apis/rest/data-alerts/
📖
Documentation
https://qlik.dev/apis/rest/data-assets/
📖
APIReference
https://qlik.dev/apis/rest/data-assets/
📖
Documentation
https://qlik.dev/apis/rest/data-connections/
📖
APIReference
https://qlik.dev/apis/rest/data-connections/
📖
Documentation
https://qlik.dev/apis/rest/data-credentials/
📖
APIReference
https://qlik.dev/apis/rest/data-credentials/
📖
Documentation
https://qlik.dev/apis/rest/data-files/
📖
APIReference
https://qlik.dev/apis/rest/data-files/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-products/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-products/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
Documentation
https://qlik.dev/apis/rest/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-sets/
📖
APIReference
https://qlik.dev/apis/rest/data-sets/
📖
Documentation
https://qlik.dev/apis/rest/data-sources/
📖
APIReference
https://qlik.dev/apis/rest/data-sources/
📖
Documentation
https://qlik.dev/apis/rest/data-stores/
📖
APIReference
https://qlik.dev/apis/rest/data-stores/
📖
Documentation
https://qlik.dev/apis/rest/di-projects/
📖
APIReference
https://qlik.dev/apis/rest/di-projects/
📖
Documentation
https://qlik.dev/apis/rest/direct-access-agents/
📖
APIReference
https://qlik.dev/apis/rest/direct-access-agents/
📖
Documentation
https://qlik.dev/apis/rest/encryption/
📖
APIReference
https://qlik.dev/apis/rest/encryption/
📖
Documentation
https://qlik.dev/apis/rest/extensions/
📖
APIReference
https://qlik.dev/apis/rest/extensions/
📖
Documentation
https://qlik.dev/apis/rest/glossaries/
📖
APIReference
https://qlik.dev/apis/rest/glossaries/
📖
Documentation
https://qlik.dev/apis/rest/groups/
📖
APIReference
https://qlik.dev/apis/rest/groups/
📖
Documentation
https://qlik.dev/apis/rest/identity-providers/
📖
APIReference
https://qlik.dev/apis/rest/identity-providers/
📖
Documentation
https://qlik.dev/apis/rest/items/
📖
APIReference
https://qlik.dev/apis/rest/items/
📖
Documentation
https://qlik.dev/apis/rest/knowledgebases/
📖
APIReference
https://qlik.dev/apis/rest/knowledgebases/
📖
Documentation
https://qlik.dev/apis/rest/licenses/
📖
APIReference
https://qlik.dev/apis/rest/licenses/
📖
Documentation
https://qlik.dev/apis/rest/lineage-graphs/
📖
APIReference
https://qlik.dev/apis/rest/lineage-graphs/
📖
Documentation
https://qlik.dev/apis/rest/login/
📖
APIReference
https://qlik.dev/apis/rest/login/
📖
Documentation
https://qlik.dev/apis/rest/ml/
📖
APIReference
https://qlik.dev/apis/rest/ml/
📖
Documentation
https://qlik.dev/apis/rest/notes/
📖
APIReference
https://qlik.dev/apis/rest/notes/
📖
Documentation
https://qlik.dev/apis/rest/notifications/
📖
APIReference
https://qlik.dev/apis/rest/notifications/
📖
Documentation
https://qlik.dev/apis/rest/oauth-clients/
📖
APIReference
https://qlik.dev/apis/rest/oauth-clients/
📖
Documentation
https://qlik.dev/apis/rest/oauth-tokens/
📖
APIReference
https://qlik.dev/apis/rest/oauth-tokens/
📖
Documentation
https://qlik.dev/apis/rest/questions/
📖
APIReference
https://qlik.dev/apis/rest/questions/
📖
Documentation
https://qlik.dev/apis/rest/quotas/
📖
APIReference
https://qlik.dev/apis/rest/quotas/
📖
Documentation
https://qlik.dev/apis/rest/reload-tasks/
📖
APIReference
https://qlik.dev/apis/rest/reload-tasks/
📖
Documentation
https://qlik.dev/apis/rest/reloads/
📖
APIReference
https://qlik.dev/apis/rest/reloads/
📖
Documentation
https://qlik.dev/apis/rest/report-templates/
📖
APIReference
https://qlik.dev/apis/rest/report-templates/
📖
Documentation
https://qlik.dev/apis/rest/reports/
📖
APIReference
https://qlik.dev/apis/rest/reports/
📖
Documentation
https://qlik.dev/apis/rest/roles/
📖
APIReference
https://qlik.dev/apis/rest/roles/
📖
Documentation
https://qlik.dev/apis/rest/scheduling/tasks/
📖
APIReference
https://qlik.dev/apis/rest/scheduling/tasks/
📖
Documentation
https://qlik.dev/apis/rest/sharing-tasks/
📖
APIReference
https://qlik.dev/apis/rest/sharing-tasks/
📖
Documentation
https://qlik.dev/apis/rest/spaces/
📖
APIReference
https://qlik.dev/apis/rest/spaces/
📖
Documentation
https://qlik.dev/apis/rest/tasks/
📖
APIReference
https://qlik.dev/apis/rest/tasks/
📖
Documentation
https://qlik.dev/apis/rest/temp-contents/
📖
APIReference
https://qlik.dev/apis/rest/temp-contents/
📖
Documentation
https://qlik.dev/apis/rest/tenant-settings/
📖
APIReference
https://qlik.dev/apis/rest/tenant-settings/
📖
Documentation
https://qlik.dev/apis/rest/tenants/
📖
APIReference
https://qlik.dev/apis/rest/tenants/
📖
Documentation
https://qlik.dev/apis/rest/themes/
📖
APIReference
https://qlik.dev/apis/rest/themes/
📖
Documentation
https://qlik.dev/apis/rest/transports/
📖
APIReference
https://qlik.dev/apis/rest/transports/
📖
Documentation
https://qlik.dev/apis/rest/ui-config/
📖
APIReference
https://qlik.dev/apis/rest/ui-config/
📖
Documentation
https://qlik.dev/apis/rest/users/
📖
APIReference
https://qlik.dev/apis/rest/users/
📖
Documentation
https://qlik.dev/apis/rest/web-integrations/
📖
APIReference
https://qlik.dev/apis/rest/web-integrations/
📖
Documentation
https://qlik.dev/apis/rest/web-notifications/
📖
APIReference
https://qlik.dev/apis/rest/web-notifications/
📖
Documentation
https://qlik.dev/apis/rest/webhooks/
📖
APIReference
https://qlik.dev/apis/rest/webhooks/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automations/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automations/
📖
Documentation
https://qlik.dev/apis/rest
📖
Authentication
https://qlik.dev/authenticate

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qliksense-iam-resources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qliksense-iam-resources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Qliksense Iam Resources API
  version: ''
  description: 'Operations tagged iam-resources across 2 of this provider''s published API definitions: qliksense-core-auth-settings.json, qliksense-core-ip-policies.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{tenant}.{region}.qlikcloud.com
  variables:
    region:
      default: us
      description: The region the tenant is hosted in
    tenant:
      default: your-tenant
      description: Name of the tenant that will be called
tags:
- name: iam-resources
paths:
  /api/core/auth-settings:
    get:
      tags:
      - iam-resources
      summary: Get authentication settings
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthSettingsResource'
          description: Authentication settings retrieved successfully.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Not authorized.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: The authenticated user does not have the `TenantAdmin` role required to read authentication settings.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Authentication settings not found.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal server error.
      description: Returns the authentication settings for the tenant, including the session inactivity timeout and maximum session lifespan. If no custom values have been saved, the response reflects tenant-wide defaults with `isDefault` set to `true`. The user must be assigned the `TenantAdmin` role.
      operationId: getAuthSettings
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    patch:
      tags:
      - iam-resources
      summary: Update authentication settings
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthSettingsResource'
          description: Authentication settings updated successfully.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Invalid request body.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Not authorized.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: The authenticated user does not have the `TenantAdmin` role required to update authentication settings.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Authentication settings not found.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal server error.
      description: Updates one or more authentication settings for the tenant using JSON Patch (RFC 6902). Supports `replace` operations on `/userSessionInactivityTimeoutMinutes`, `/maxUserSessionLifespanMinutes`, and `/dynamicClientRegistrationEnabled`. The value for `maxUserSessionLifespanMinutes` must be a whole number of hours (divisible by 60). The user must be assigned the `TenantAdmin` role.
      operationId: updateAuthSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthSettingsJSONPatchArray'
        required: true
        description: An array of JSON Patch operations to apply to the authentication settings.
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    servers:
    - url: https://{tenant}.{region}.qlikcloud.com
      variables:
        region:
          default: us
          description: The region the tenant is hosted in
        tenant:
          default: your-tenant
          description: Name of the tenant that will be called
  /api/core/ip-policies:
    get:
      tags:
      - iam-resources
      summary: List IP policies
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListIPPoliciesResult'
          description: IP policies retrieved successfully. The response includes an array of IP policies and pagination links.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Invalid request parameters for querying IP policies.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unauthorized, JWT is invalid or not provided.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal server error.
      parameters:
      - in: query
        name: fields
        schema:
          type: string
        description: A comma-separated list of fields to limit in the response.
      - in: query
        name: filter
        schema:
          type: string
        description: 'The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. All conditional statements within this query parameter are case insensitive.


          field "enabled" supports following operators: eq


          field "id" supports following operators: eq, ne


          field "name" supports following operators: eq, co


          field "tenantId" supports following operators: eq

          '
      - in: query
        name: limit
        schema:
          type: number
          default: 20
          maximum: 100
          minimum: 1
        description: The number of IP policies to retrieve.
        x-oapi-codegen-extra-tags:
          validate: omitempty,max=100,min=1
      - in: query
        name: page
        schema:
          type: string
          example: a435jfb2
        description: The page cursor. Takes precedence over other parameters.
      - in: query
        name: sort
        schema:
          enum:
          - enabled
          - +enabled
          - -enabled
          - createdAt
          - +createdAt
          - -createdAt
          - updatedAt
          - +updatedAt
          - -updatedAt
          - name
          - +name
          - -name
          type: string
        description: Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending.
        x-oapi-codegen-extra-tags:
          validate: omitempty,oneof=enabled +enabled -enabled createdAt +createdAt -createdAt updatedAt +updatedAt -updatedAt name +name -name
      - in: query
        name: totalResults
        schema:
          type: boolean
          default: false
        description: Determines whether to return a count of the total records matched in the query. Defaults to false.
      description: Returns a list of IP policies present in the tenant. The user must be assigned the `TenantAdmin` role.
      operationId: getIPPolicies
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    post:
      tags:
      - iam-resources
      summary: Create an IP policy
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPPolicyResource'
          description: Request successfully completed.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Invalid request body.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: IP Policy ID not found or Invalid format.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal Server Error.
      description: Creates a new IPv4 IP policy in the tenant. If this is the first enabled policy, IP allowlisting will be enabled and access via other IP addresses will be blocked. The user's IP address must be present in at least one policy if allowlisting is enabled. The user must be assigned the `TenantAdmin` role. IPv6 IP addresses are not currently supported.
      operationId: createIPPolicy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateIPPolicy'
        required: true
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    servers:
    - url: https://{tenant}.{region}.qlikcloud.com
      variables:
        region:
          default: us
          description: The region the tenant is hosted in
        tenant:
          default: your-tenant
          description: Name of the tenant that will be called
  /api/core/ip-policies/{id}:
    get:
      tags:
      - iam-resources
      summary: Get an IP policy
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPPolicyResource'
          description: Request successfully completed.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unauthorized, JWT is invalid or not provided.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: IP Policy ID not found or Invalid format.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal Server Error.
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: The IP policy unique identifier
      description: Retrieves details for a specific IP policy by policy ID.
      operationId: getIPPolicyByID
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    patch:
      tags:
      - iam-resources
      summary: Update an IP policy
      responses:
        '204':
          description: IP policy updated successfully.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Invalid request body.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unauthorized, JWT is invalid or not provided.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Access Denied.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: IP policy ID not found or Invalid format.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal server error.
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: The unique identifier for the IP policy.
      description: Updates the IP policy. If this is the first enabled policy in the tenant, IP allowlisting will be enabled and access via other IP addresses will be blocked. The user's IP address must be present in at least one policy if allowlisting is enabled. The user must be assigned the `TenantAdmin` role.
      operationId: updateIPPolicyByID
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JSONPatchArray'
        required: true
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    delete:
      tags:
      - iam-resources
      summary: Delete an IP policy
      responses:
        '204':
          description: IP policy deleted successfully.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unauthorized, JWT is invalid or not provided.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Access Denied.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: IP policy ID not found or Invalid format.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          headers:
            retry-after:
              schema:
                type: integer
                default: 1
              description: The amount of seconds to wait before retrying the request.
          description: Request has been rate limited.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Internal server error.
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: The unique identifier for the IP policy.
      description: Deletes an IP policy by ID. If this is the last enabled policy in the tenant, IP allowlisting will be disabled and access will be permitted via all IP addresses. The user's IP address must be present in at least one other policy if allowlisting is enabled. The user must be assigned the `TenantAdmin` role.
      operationId: deleteIPPolicyByID
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    servers:
    - url: https://{tenant}.{region}.qlikcloud.com
      variables:
        region:
          default: us
          description: The region the tenant is hosted in
        tenant:
          default: your-tenant
          description: Name of the tenant that will be called
components:
  schemas:
    AuthSettingsResource:
      type: object
      required:
      - tenantId
      - userSessionInactivityTimeoutMinutes
      - maxUserSessionLifespanMinutes
      properties:
        id:
          type: string
          format: uid
          example: 507f191e810c19729de860ea
          readOnly: true
          x-go-name: ID
          description: The unique identifier for the authentication settings.
        tenantId:
          type: string
          format: uid
          example: 644fd58b846d649c82eba436
          readOnly: true
          x-go-name: TenantID
          description: The tenant unique identifier associated with the authentication settings.
        isDefault:
          type: boolean
          example: false
          readOnly: true
          description: '`true` if the authentication settings are using tenant-wide defaults. No custom values have been saved for this tenant.'
        maxUserSessionLifespanMinutes:
          type: integer
          format: int64
          example: 1440
          x-go-name: MaxUserSessionLifespanMinutes
          description: Maximum total lifespan for a user session, in minutes. Sessions are invalidated after this duration regardless of activity.
        dcrAllowedAuthenticationMethods:
          type: array
          items:
            enum:
            - none
            - client_secret
            type: string
          example:
          - client_secret
          x-go-name: DcrAllowedAuthenticationMethods
          description: The allowed authentication methods for dynamic client registration. Only present when dynamic client registration is enabled.
        dynamicClientRegistrationEnabled:
          type: boolean
          example: false
          x-go-name: DynamicClientRegistrationEnabled
          description: Indicates whether dynamic client registration is enabled for this tenant.
        userSessionInactivityTimeoutMinutes:
          type: integer
          format: int64
          example: 60
          x-go-name: UserSessionInactivityTimeoutMinutes
          description: Maximum inactivity period for a user session, in minutes. Sessions that have been idle for longer than this value are invalidated.
      description: The authentication settings for a tenant, controlling user session duration and inactivity behavior.
    Error:
      type: object
      required:
      - code
      - title
      properties:
        code:
          type: string
          description: The error code.
        meta:
          type: object
          description: Additional properties relating to the error.
        title:
          type: string
          description: Summary of the problem.
        detail:
          type: string
          description: A human-readable explanation specific to this occurrence of the problem.
        source:
          type: object
          properties:
            pointer:
              type: string
              description: A JSON Pointer to the property that caused the error.
            parameter:
              type: string
              description: The URI query parameter that caused the error.
          description: References to the source of the error.
      description: An error object describing the error.
    Errors:
      type: object
      example:
        errors:
        - code: CODE-10402
          title: Not Found
        traceId: 0000000000000000200ba0714061b982
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
          description: An array of errors related to the operation.
        traceId:
          type: string
          description: A unique identifier for tracing the error.
      description: The error response object describing the error from the handling of an HTTP request.
    AuthSettingsJSONPatch:
      type: object
      required:
      - op
      - path
      - value
      properties:
        op:
          enum:
          - replace
          type: string
          description: The operation to be performed.
          x-oapi-codegen-extra-tags:
            validate: required,oneof=replace
        path:
          enum:
          - /userSessionInactivityTimeoutMinutes
          - /maxUserSessionLifespanMinutes
          - /dynamicClientRegistrationEnabled
          - /dcrAllowedAuthenticationMethods
          type: string
          description: A JSON Pointer to the authentication settings field. Use `/dynamicClientRegistrationEnabled` only with a boolean `value`. Field `/dcrAllowedAuthenticationMethods` is only available when dynamic client registration is enabled.
          x-oapi-codegen-extra-tags:
            validate: required,oneof=/userSessionInactivityTimeoutMinutes /maxUserSessionLifespanMinutes /dynamicClientRegistrationEnabled /dcrAllowedAuthenticationMethods
        value:
          oneOf:
          - type: integer
            format: int64
          - type: boolean
          - type: string
          - type: array
            items:
              type: string
          example: 1440
          x-go-type: any
          description: Value to set for the targeted authentication settings field. Timeout fields accept only integer values, `/dynamicClientRegistrationEnabled` accepts only boolean values, and `/dcrAllowedAuthenticationMethods` accepts an array of strings.
      description: A JSON Patch document for authentication settings as defined in http://tools.ietf.org/html/rfc6902.
    AuthSettingsJSONPatchArray:
      type: array
      items:
        $ref: '#/components/schemas/AuthSettingsJSONPatch'
      example:
      - op: replace
        path: /userSessionInactivityTimeoutMinutes
        value: 60
      - op: replace
        path: /maxUserSessionLifespanMinutes
        value: 1440
      - op: replace
        path: /dynamicClientRegistrationEnabled
        value: true
      - op: replace
        path: /dcrAllowedAuthenticationMethods
        value:
        - client_secret
      description: An array of JSON Patch documents for authentication settings.
    JSONPatch:
      type: object
      required:
      - op
      - path
      - value
      properties:
        op:
          enum:
          - replace
          type: string
          description: The operation to be performed.
          x-oapi-codegen-extra-tags:
            validate: required,oneof=replace
        path:
          enum:
          - /enabled
          - /name
          - /allowedIps
          type: string
          description: A JSON Pointer.
          x-oapi-codegen-extra-tags:
            validate: required,oneof=/enabled /name /allowedIps
        value:
          oneOf:
          - type: string
          - type: boolean
          - type: array
            items:
              type: string
          x-go-type: any
          description: The value to be used for this operation.
      description: A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
    IPPolicyResource:
      type: object
      required:
      - id
      - tenantId
      - name
      - enabled
      - editable
      - deletable
      - toggleable
      - createdAt
      - updatedAt
      - createdBy
      - updatedBy
      - allowedIps
      properties:
        id:
          type: string
          format: uid
          example: 507f191e810c19729de860ea
          readOnly: true
          x-go-name: ID
          description: The unique identifier for the IP policy.
          x-qlik-filterable: true
        name:
          type: string
          example: Allow access from office IP addresses.
          description: The descriptive name for the IP policy.
          x-qlik-filterable: true
        enabled:
          type: boolean
          example: true
          description: Indicates whether the IP policy is enabled.
        editable:
          type: boolean
          example: true
          description: Indicates whether the IP policy can be updated.
        tenantId:
          type: string
          format: uid
          example: 644fd58b846d649c82eba436
          x-go-name: TenantID
          description: The tenant unique identifier associated with the given IP policy.
          x-qlik-filterable: true
        createdAt:
          type: string
          format: date-time
          example: '2021-03-21T17:32:28Z'
          description: The timestamp for when the IP policy was created.
          x-qlik-filterable: true
        createdBy:
          type: string
          example: 507f191e810c19729de860ea
          description: The user ID of the user who created the IP policy.
        deletable:
          type: boolean
          example: true
          description: Indicates whether the IP policy can be deleted.
        updatedAt:
          type: string
          format: date-time
          example: '2021-03-22T10:01:02Z'
          description: The timestamp for when the IP policy was last updated.
          x-qlik-filterable: true
        updatedBy:
          type: string
          example: 507f191e810c19729de860ea
          description: The user ID of the user who last updated the IP policy.
        allowedIps:
          type: array
          items:
            type: string
          example:
          - 61.254.213.0/24
          - 22.46.216.142
          x-go-name: AllowedIPs
          description: An array of allowed public IPv4 addresses.
        toggleable:
          type: boolean
          example: true
          description: Indicates whether the IP policy can be enabled/disabled..
    Link:
      type: object
      required:
      - href
      properties:
        href:
          type: string
          format: uri
          example: http://mytenant.us.qlikcloud.com/api/core/ip-policies?page=QaFdFYW6pImZvRgFaDyB1UffNgfs4mRd
      description: A link
    JSONPatchArray:
      type: array
      items:
        $ref: '#/components/schemas/JSONPatch'
      example:
      - op: replace
        path: /name
        value: New name
      - op: replace
        path: /allowedIps
        value:
        - 61.254.213.0/24
        - 22.46.216.142
      - op: replace
        path: /enabled
        value: true
      description: An array of JSON Patch documents
    CreateIPPolicy:
      type: object
      required:
      - allowedIps
      properties:
        name:
          type: string
          example: Allow access from office IP addresses.
          description: The descriptive name for the IP policy.
          x-oapi-codegen-extra-tags:
            validate: required,max=1000,min=1
        enabled:
          type: boolean
          default: false
          example: true
          description: Indicates whether the IP policy is enabled.
        allowedIps:
          type: array
          items:
            type: string
            example: 61.254.213.0/24
            description: An IPv4 address or IPv4 CIDR range to allow.
          example:
          - 61.254.213.0/24
          - 22.46.216.142
          description: An array of allowed IP IPv4 addresses, either as plain IP addresses, or as CIDR ranges.
          x-oapi-codegen-extra-tags:
            validate: required,max=100,min=1,unique,dive,cidrv4|ipv4
    ListIPPoliciesResult:
      type: object
      required:
      - links
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/IPPolicyListItem'
          description: An array of IP policies.
        links:
          $ref: '#/components/schemas/Links'
        totalResults:
          type: integer
          description: Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true.
    Links:
      type: object
      required:
      - self
      properties:
        next:
          $ref: '#/components/schemas/Link'
        prev:
          $ref: '#/components/schemas/Link'
        self:
          $ref: '#/components/schemas/Link'
      description: Contains pagination links. self is a link to the current results page, next is a link to the next results page and prev is a link to the previous results page
    IPPolicyListItem:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          format: uid
          example: 507f191e810c19729de860ea
          readOnly: true
          description: The unique identifier for the IP policy.
          x-qlik-filterable: true
        name:
          type: string
          example: Allow access from office IP addresses.
          description: The descriptive name for the IP policy.
          x-qlik-filterable: true
        enabled:
          type: boolean
          example: true
          description: Indicates whether the IP policy is enabled.
        editable:
          type: boolean
          example: true
          description: Indicates whether the IP policy can be updated.
        tenantId:
          type: string
          format: uid
          example: 644fd58b846d649c82eba436
          description: The tenant unique identifier associated with the given IP policy.
          x-qlik-filterable: true
        createdAt:
          type: string
          format: date-time
          example: '2021-03-21T17:32:28Z'
          description: The timestamp for when the resource was created.
          x-qlik-filterable: true
        createdBy:
          type: string
          example: 507f191e810c19729de860ea
          description: The user ID of the user who created the IP policy.
        deletable:
          type: boolean
          example: true
          description: Indicates whether the IP policy can be deleted.
        updatedAt:
          type: string
          format: date-time
          example: '2021-03-22T10:01:02Z'
          description: The timestamp for when the resource was last updated.
          x-qlik-filterable: true
        updatedBy:
          type: string
          example: 507f191e810c19729de860ea
          description: The user ID of the user who last updated the IP policy.
        allowedIps:
          type: array
          items:
            type: string
          example:
          - 61.254.213.0/24
          - 22.46.216.142
          description: An array of allowed IP addresses.
        toggleable:
          type: boolean
          example: true
          description: Indicates whether the IP policy can be enabled/disabled.
x-refined-from:
- qliksense-core-auth-settings.json
- qliksense-core-ip-policies.json