Nexla Access Control API

Operations for managing access control to resources

Operations 48

GET /data_sources/{data_source_id}/accessors Get Access Rules on Data Source #
POST /data_sources/{data_source_id}/accessors Replace Access Rules on Data Source #
PUT /data_sources/{data_source_id}/accessors Add Access Rules on Data Source #
DELETE /data_sources/{data_source_id}/accessors Delete Access Rules on Data Source #
GET /data_sets/{data_set_id}/accessors Get Access Rules on Nexset #
POST /data_sets/{data_set_id}/accessors Replace Access Rules on Nexset #
PUT /data_sets/{data_set_id}/accessors Add Access Rules on Nexset #
DELETE /data_sets/{data_set_id}/accessors Delete Access Rules on Nexset #
GET /data_sinks/{data_sink_id}/accessors Get Access Rules on Data Sink #
POST /data_sinks/{data_sink_id}/accessors Replace Access Rules on Data Sink #
PUT /data_sinks/{data_sink_id}/accessors Add Access Rules on Data Sink #
DELETE /data_sinks/{data_sink_id}/accessors Delete Access Rules on Data Sink #
GET /data_maps/{data_map_id}/accessors Get Access Rules on Data Map #
POST /data_maps/{data_map_id}/accessors Replace Access Rules on Data Map #
PUT /data_maps/{data_map_id}/accessors Add Access Rules on Data Map #
DELETE /data_maps/{data_map_id}/accessors Delete Access Rules on Data Map #
GET /data_credentials/{data_credential_id}/accessors Get Access Rules on Data Credential #
POST /data_credentials/{data_credential_id}/accessors Replace Access Rules on Data Credential #
PUT /data_credentials/{data_credential_id}/accessors Add Access Rules on Data Credential #
DELETE /data_credentials/{data_credential_id}/accessors Delete Access Rules on Data Credential #
GET /projects/{project_id}/accessors Get Project Accessors #
POST /projects/{project_id}/accessors Replace Access Rules on Project #
PUT /projects/{project_id}/accessors Add Project Accessors #
DELETE /projects/{project_id}/accessors Delete Project Accessors #
GET /flows/{flow_id}/accessors Get Access Rules on Flow #
POST /flows/{flow_id}/accessors Replace Access Rules on Flow #
PUT /flows/{flow_id}/accessors Add Access Rules on Flow #
DELETE /flows/{flow_id}/accessors Delete Access Rules on Flow #
GET /data_flows/{data_flow_id}/accessors Get Access Rules on Flow (Deprecated) #
POST /data_flows/{data_flow_id}/accessors Replace Access Rules on Flow (Deprecated) #
PUT /data_flows/{data_flow_id}/accessors Add Access Rules on Flow (Deprecated) #
DELETE /data_flows/{data_flow_id}/accessors Delete Access Rules on Flow (Deprecated) #
GET /data_schemas/{data_schema_id}/accessors Get Access Rules on Data Schema #
POST /data_schemas/{data_schema_id}/accessors Replace Access Rules on Data Schema #
PUT /data_schemas/{data_schema_id}/accessors Add Access Rules on Data Schema #
DELETE /data_schemas/{data_schema_id}/accessors Delete Access Rules on Data Schema #
GET /doc_containers/{doc_container_id}/accessors Get Access Rules on Document #
POST /doc_containers/{doc_container_id}/accessors Replace Access Rules on Document #
PUT /doc_containers/{doc_container_id}/accessors Add Access Rules on Document #
DELETE /doc_containers/{doc_container_id}/accessors Delete Access Rules on Document #
GET /code_containers/{code_container_id}/accessors Get Access Rules on Code Container #
POST /code_containers/{code_container_id}/accessors Replace Access Rules on Code Container #
PUT /code_containers/{code_container_id}/accessors Add Access Rules on Code Container #
DELETE /code_containers/{code_container_id}/accessors Delete Access Rules on Code Container #
GET /teams/{team_id}/accessors Get Team Accessors #
POST /teams/{team_id}/accessors Replace Team Accessors List #
PUT /teams/{team_id}/accessors Add Team Accessors #
DELETE /teams/{team_id}/accessors Delete Team Accessors #

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 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

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.'
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.


        > **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`.'
      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}`.


        > **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`.'
      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}`.


        > **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`.'
      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}`.


        > **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`.'
      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':
          description: Not Found
    put:
      tags:
      - Access Control
      operationId: add_data_schema_accessors
      summary: Add Access Rules on Data Schema
      description: Adds new access-control rules to this data schema.
      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':
          description: Not Found
    delete:
      tags:
      - Access Control
      operationId: delete_data_schema_accessors
      summary: Delete Access Rules on Data Schema
      description: Removes access-control rules from a data schema. If no request body is provided, all rules associated with the data schema will be removed.
      parameters:
      - name: data_schema_id
        in: path
        description: The unique ID of the data schema.
        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
  /doc_containers/{doc_container_id}/accessors:
    get:
      tags:
      - Access Control
      operationId: get_doc_container_accessors
      summary: Get Access Rules on Document
      description: Returns a list of the access-control rules set for this document.
      parameters:
      - name: doc_container_id
        in: path
        descri

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