Nexla Access Control API

Operations for managing access control to resources

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/nexla-access-control-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 email required.

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

OpenAPI Specification

nexla-access-control-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Nexla Rest Access Control API
  termsOfService: https://nexla.com/terms-of-service/
  contact:
    name: Nexla Support
    url: https://docs.nexla.com
    email: support@nexla.com
  license:
    name: Nexla
    url: https://nexla.com
  x-logo:
    url: https://cdn.nexla.io/ui/assets/brand/v2/nexla-logo-color-portrait.svg
    backgroundColor: '#ffffff'
  description: '# Introduction


    The Nexla API is a REST-ful API used to easily create and manage resources in Nexla in ways that best fit any use case. It can be used to configure and monitor data flows for different data-integration use cases and to perform all aspects of data engineering automation offered by the Nexla platform.


    The Nexla API supports all data flow-creation and -management actions in the platform, as well as administrative user- and organization-level account-management tasks. Note that all other client packages, such as the Nexla CLI and Nexla UI, also connect to the overall Nexla infrastructure through the Nexla API.


    The API references in this document lists all API endpoints and the corresponding payloads.


    Check out the [API Developer Guides](https://developers.nexla.com/docs/nexla-api) to view guides and tutorials for recommended use cases for different endpoints.


    # API Data Format and Versions


    The API uses JSON for all data exchanges.


    You __should__ specify the API version that should be used in the Accept header of each request. For example, to access Version 1 of the API, the Accept header should be the following:

    ```

    Accept: application/vnd.nexla.api.v1+json

    ```


    The Nexla API also supports a generic version header, which will default your access to the latest version of the data source/destination API.



    ```

    Accept: application/json

    ```


    # Authentication


    Most Nexla API endpoints require `Bearer Token` authentication mechanism for making an authenticated request to the API. While this token can be generated programmatically outside Nexla UI by starting a session with an `api_key`, unless unavoidable, we recommend starting your session from the Nexla UI and using the `Nexla Session Token` from the Nexla UI as the Authorization header for calls to the Nexla API.


    <SecurityDefinitions />'
servers:
- url: https://{nexla-api-host}
  variables:
    nexla-api-host:
      default: dataops.nexla.io/nexla-api
      description: Nexla API URL your Nexla instance
security:
- NexlaSessionToken: []
tags:
- name: Access Control
  description: Operations for managing access control to resources
paths:
  /data_sources/{data_source_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_data_source_accessors
      summary: Get Access Rules on Data Source
      description: 'Returns a list of the access-control rules set for this data source.

        '
      parameters:
      - name: data_source_id
        in: path
        description: The unique ID of the data source.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_data_source_accessors
      summary: Replace Access Rules on Data Source
      description: 'Replaces the list of accessors belonging to a data source. Existing accessors will be removed from the data source.

        '
      parameters:
      - name: data_source_id
        in: path
        description: The unique ID of the data source.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_data_source_accessors
      summary: Add Access Rules on Data Source
      description: 'Adds a list of accessors to a data source. The existing accessors list is retained and merged with the new accessors list.

        '
      parameters:
      - name: data_source_id
        in: path
        description: The unique ID of the data source.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_data_source_accessors
      summary: Delete Access Rules on Data Source
      description: 'Removes access-control rules from a data source. If no request body is provided, all rules associated with the data source will be removed.

        '
      parameters:
      - name: data_source_id
        in: path
        description: The unique ID of the data source.
        required: true
        schema:
          type: integer
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /data_sets/{data_set_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_nexset_accessors
      summary: Get Access Rules on Nexset
      description: 'Returns a list of the access-control rules set for this Nexset.

        '
      parameters:
      - name: data_set_id
        in: path
        description: The unique ID of the Nexset.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_nexset_accessors
      summary: Replace Access Rules on Nexset
      description: 'Replaces the list of access-control rules set for this Nexset. Existing rules will be removed from the Nexset, and only these new rules will be applied.

        '
      parameters:
      - name: data_set_id
        in: path
        description: The unique ID of the Nexset.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_nexset_accessors
      summary: Add Access Rules on Nexset
      description: 'Adds new access-control rules to this Nexset.

        '
      parameters:
      - name: data_set_id
        in: path
        description: The unique ID of the Nexset.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_nexset_accessors
      summary: Delete Access Rules on Nexset
      description: 'Removes access-control rules from a Nexset. If no request body is provided, all rules associated with the Nexset will be removed.

        '
      parameters:
      - name: data_set_id
        in: path
        description: The unique ID of the Nexset.
        required: true
        schema:
          type: integer
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /data_sinks/{data_sink_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_data_sink_accessors
      summary: Get Access Rules on Data Sink
      description: 'Returns a list of the access-control rules set for this data sink.

        '
      parameters:
      - name: data_sink_id
        in: path
        description: The unique ID of the data sink.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_data_sink_accessors
      summary: Replace Access Rules on Data Sink
      description: 'Replaces the list of access-control rules set for this data sink. Existing rules will be removed from the data sink, and only these new rules will be applied.

        '
      parameters:
      - name: data_sink_id
        in: path
        description: The unique ID of the data sink.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_data_sink_accessors
      summary: Add Access Rules on Data Sink
      description: 'Adds new access-control rules to this data sink.

        '
      parameters:
      - name: data_sink_id
        in: path
        description: The unique ID of the data sink.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_data_sink_accessors
      summary: Delete Access Rules on Data Sink
      description: 'Removes access-control rules from a data sink. If no request body is provided, all rules associated with the data sink will be removed.

        '
      parameters:
      - name: data_sink_id
        in: path
        description: The unique ID of the data sink.
        required: true
        schema:
          type: integer
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /data_maps/{data_map_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_data_map_accessors
      summary: Get Access Rules on Data Map
      description: 'Returns a list of the access-control rules set for this data map.

        '
      parameters:
      - name: data_map_id
        in: path
        description: The unique ID of the data map.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_data_map_accessors
      summary: Replace Access Rules on Data Map
      description: 'Replaces the list of access-control rules set for this data map. Existing rules will be removed from the data map, and only these new rules will be applied.

        '
      parameters:
      - name: data_map_id
        in: path
        description: The unique ID of the data map.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_data_map_accessors
      summary: Add Access Rules on Data Map
      description: 'Adds new access-control rules to this data map.

        '
      parameters:
      - name: data_map_id
        in: path
        description: The unique ID of the data map.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_data_map_accessors
      summary: Delete Access Rules on Data Map
      description: 'Removes access-control rules from a data map. If no request body is provided, all rules associated with the data map will be removed.

        '
      parameters:
      - name: data_map_id
        in: path
        description: The unique ID of the data map.
        required: true
        schema:
          type: integer
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /data_credentials/{data_credential_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_data_credential_accessors
      summary: Get Access Rules on Data Credential
      description: 'Returns a list of the access-control rules set for this data credential.

        '
      parameters:
      - name: data_credential_id
        in: path
        description: The unique ID of the data credential.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_data_credential_accessors
      summary: Replace Access Rules on Data Credential
      description: 'Replaces the list of access-control rules set for this data credential. Existing rules will be removed from the data credential, and only these new rules will be applied.

        '
      parameters:
      - name: data_credential_id
        in: path
        description: The unique ID of the data credential.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_data_credential_accessors
      summary: Add Access Rules on Data Credential
      description: 'Adds new access-control rules to this data credential.

        '
      parameters:
      - name: data_credential_id
        in: path
        description: The unique ID of the data credential.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_data_credential_accessors
      summary: Delete Access Rules on Data Credential
      description: 'Removes access-control rules from a data credential. If no request body is provided, all rules associated with the data credential will be removed.

        '
      parameters:
      - name: data_credential_id
        in: path
        description: The unique ID of the data credential.
        required: true
        schema:
          type: integer
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /projects/{project_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_project_accessors
      summary: Get Project Accessors
      description: 'Returns a list of the access-control rules set for this project.

        '
      parameters:
      - name: project_id
        in: path
        description: The unique ID of the project.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_project_accessors
      summary: Replace Access Rules on Project
      description: 'Replaces the list of access-control rules set for this project. Existing rules will be removed from the project, and only these new rules will be applied.

        '
      parameters:
      - name: project_id
        in: path
        description: The unique ID of the project.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_project_accessors
      summary: Add Project Accessors
      description: 'Adds new access-control rules to this project.

        '
      parameters:
      - name: project_id
        in: path
        description: The unique ID of the project.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_project_accessors
      summary: Delete Project Accessors
      description: 'Removes access-control rules from a project. If no request body is provided, all rules associated with the project will be removed.

        '
      parameters:
      - name: project_id
        in: path
        description: The unique ID of the project.
        required: true
        schema:
          type: integer
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /flows/{flow_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_flow_accessors
      summary: Get Access Rules on Flow
      description: 'Returns a list of the access-control rules set for this flow.

        '
      parameters:
      - name: data_flow_id
        in: path
        description: The unique ID of the flow.
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_flow_accessors
      summary: Replace Access Rules on Flow
      description: 'Replaces the list of access-control rules set for this flow. Existing rules will be removed from the flow, and only these new rules will be applied.

        '
      parameters:
      - name: flow_id
        in: path
        description: The unique ID of the data flow.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_flow_accessors
      summary: Add Access Rules on Flow
      description: 'Adds new access-control rules to this data flow.

        '
      parameters:
      - name: flow_id
        in: path
        description: The unique ID of the data flow.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_flow_accessors
      summary: Delete Access Rules on Flow
      description: 'Removes access-control rules from a data flow. If no request body is provided, all rules associated with the data flow will be removed.

        '
      parameters:
      - name: data_flow_id
        in: path
        description: The unique ID of the data flow.
        required: true
        schema:
          type: string
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /data_flows/{data_flow_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_flow_accessors_(deprecated)
      summary: Get Access Rules on Flow (Deprecated)
      description: "Returns a list of the access-control rules set for this data flow. \n\n> **Note**: This version of the endpoint has been deprecated. It uses a composite data flow id of the type `{resource_type}/{resource_id}`. See get_flow_accessors for a new version of this endpoint that uses unique `flow_id`.\n"
      parameters:
      - name: data_flow_id
        in: path
        description: The unique ID of the data flow. This ID is of the type `{resource_type}/{resource_id}`, where the resource is the root node of the flow - for example, `data_source/1001`.
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_flow_accessors_(deprecated)
      summary: Replace Access Rules on Flow (Deprecated)
      description: "Replace the list of access-control rules set for this data flow. Existing rules will be removed from the data flow, and only these new rules will be applied. This version uses a composite data flow id of the type `{resource_type}/{resource_id}`. \n\n> **Note**: This version of the endpoint has been deprecated. It uses a composite data flow id of the type `{resource_type}/{resource_id}`. See replace_flow_accessors for a new version of this endpoint that uses unique `flow_id`.\n"
      parameters:
      - name: data_flow_id
        in: path
        description: The unique ID of the data flow. This ID is of the type `{resource_type}/{resource_id}`, where the resource is the root node of the flow - for example, `data_source/1001`.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_flow_accessors_(deprecated)
      summary: Add Access Rules on Flow (Deprecated)
      description: "Add new access-control rules to this data flow. This version uses a composite data flow id of the type `{resource_type}/{resource_id}`. \n\n> **Note**: This version of the endpoint has been deprecated. It uses a composite data flow id of the type `{resource_type}/{resource_id}`. See add_flow_accessors for a new version of this endpoint that uses unique `flow_id`.  \n"
      parameters:
      - name: data_flow_id
        in: path
        description: The unique ID of the data flow. This ID is of the type `{resource_type}/{resource_id}`, where the resource is the root node of the flow - for example, `data_source/1001`.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_flow_accessors_(deprecated)
      summary: Delete Access Rules on Flow (Deprecated)
      description: "Remove access-control rules from a data flow. If no request body is provided, all rules associated with the data flow will be removed. This version uses a composite data flow id of the type `{resource_type}/{resource_id}`. \n\n> **Note**: This version of the endpoint has been deprecated. It uses a composite data flow id of the type `{resource_type}/{resource_id}`. See delete_flow_accessors for a new version of this endpoint that uses unique `flow_id`.    \n"
      parameters:
      - name: data_flow_id
        in: path
        description: The unique ID of the data flow. This ID is of the type `{resource_type}/{resource_id}`, where the resource is the root node of the flow - for example, `data_source/1001`.
        required: true
        schema:
          type: string
      requestBody:
        description: Optional list of accessors.
        required: false
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /data_schemas/{data_schema_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_data_schema_accessors
      summary: Get Access Rules on Data Schema
      description: 'Returns a list of the access-control rules set for this data schema.

        '
      parameters:
      - name: data_schema_id
        in: path
        description: The unique ID of the data schema.
        required: true
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Access Control
      operationId: replace_data_schema_accessors
      summary: Replace Access Rules on Data Schema
      description: 'Replaces the list of access-control rules set for this data schema. Existing rules will be removed from the data schema, and only these new rules will be applied.

        '
      parameters:
      - name: data_schema_id
        in: path
        description: The unique ID of the data schema.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/vnd.nexla.api.v1+json:
            schema:
              $ref: '#/components/schemas/AccessorsRequestSchema'
      responses:
        '200':
          $ref: '#/components/responses/accessors_list'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
    

# --- truncated at 32 KB (50 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/nexla/refs/heads/main/openapi/nexla-access-control-api-openapi.yml