Azure Synapse Analytics RoleAssignments API

The RoleAssignments API from Azure Synapse Analytics — 2 operation(s) for roleassignments.

Operations 4

GET /roleAssignments Azure Synapse Analytics List role assignments #
GET /roleAssignments/{roleAssignmentId} Azure Synapse Analytics Get role assignment #
PUT /roleAssignments/{roleAssignmentId} Azure Synapse Analytics Create role assignment #
DELETE /roleAssignments/{roleAssignmentId} Azure Synapse Analytics Delete role assignment #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/workspace
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/sqlpools
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/bigdatapool
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/pipeline
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/monitoring
📖
Documentation
https://learn.microsoft.com/en-us/azure/synapse-analytics/synapse-link/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/role-assignments
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/notebook
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/dataset
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/linked-service
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/data-flow
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/sql-script
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/trigger
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark-job-definition
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/managed-private-endpoints
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/integration-runtimes
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/library
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/git-integration
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/ip-firewall-rules
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/keys
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/private-endpoint-connections
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/private-link-hubs
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/kusto-pools
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/azure-ad-only-authentications
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark-configuration
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/data-flow-debug-session
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/credential
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/kql-script
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/link-connection

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-workspace-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-sql-pool-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-spark-pool-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-pipeline-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-spark-batch-job-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-role-assignment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-notebook-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-dataset-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-linked-service-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-trigger-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-firewall-rule-schema.json

Other 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/microsoft-azure-synapse-analytics-roleassignments-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

microsoft-azure-synapse-analytics-roleassignments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Synapse Analytics - Access Control Role Assignments API
  description: Manage role assignments, role definitions, and access control for Synapse workspace resources. Supports Synapse role-based access control for fine-grained permissions.
  version: '2020-12-01'
  contact:
    name: Microsoft Azure Support
    url: https://azure.microsoft.com/en-us/support/
  license:
    name: Microsoft
    url: https://azure.microsoft.com/en-us/support/legal/
servers:
- url: https://{workspaceName}.dev.azuresynapse.net
  description: Synapse Data Plane
  variables:
    workspaceName:
      description: The workspace name.
      default: myworkspace
security:
- azure_auth:
  - user_impersonation
tags:
- name: RoleAssignments
paths:
  /roleAssignments:
    get:
      operationId: RoleAssignments_ListRoleAssignments
      summary: Azure Synapse Analytics List role assignments
      description: List role assignments.
      tags:
      - RoleAssignments
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: roleId
        in: query
        description: Synapse Built-In Role Id.
        schema:
          type: string
      - name: principalId
        in: query
        description: Object ID of the AAD principal or security-group.
        schema:
          type: string
      - name: scope
        in: query
        description: Scope of the Synapse Built-In Role.
        schema:
          type: string
      - name: x-ms-continuation
        in: header
        description: Continuation token.
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved the role assignments.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleAssignmentDetailsList'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /roleAssignments/{roleAssignmentId}:
    get:
      operationId: RoleAssignments_GetRoleAssignmentById
      summary: Azure Synapse Analytics Get role assignment
      description: Get role assignment by role assignment Id.
      tags:
      - RoleAssignments
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: roleAssignmentId
        in: path
        required: true
        description: The ID of the role assignment.
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved the role assignment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleAssignmentDetails'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      operationId: RoleAssignments_CreateRoleAssignment
      summary: Azure Synapse Analytics Create role assignment
      description: Create role assignment.
      tags:
      - RoleAssignments
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: roleAssignmentId
        in: path
        required: true
        description: The ID of the role assignment.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleAssignmentRequest'
      responses:
        '200':
          description: Successfully created the role assignment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleAssignmentDetails'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      operationId: RoleAssignments_DeleteRoleAssignmentById
      summary: Azure Synapse Analytics Delete role assignment
      description: Delete role assignment by role assignment Id.
      tags:
      - RoleAssignments
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: roleAssignmentId
        in: path
        required: true
        schema:
          type: string
      - name: scope
        in: query
        description: Scope of the Synapse Built-In Role.
        schema:
          type: string
      responses:
        '200':
          description: Successfully deleted the role assignment.
        '204':
          description: Role assignment not found.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    RoleAssignmentRequest:
      type: object
      required:
      - roleId
      - principalId
      - scope
      properties:
        roleId:
          type: string
          format: uuid
          description: Role ID of the Synapse Built-In Role.
        principalId:
          type: string
          format: uuid
          description: Object ID of the AAD principal or security-group.
        scope:
          type: string
          description: Scope at which the role assignment is created.
        principalType:
          type: string
          description: Type of the principal.
          enum:
          - User
          - Group
          - ServicePrincipal
    RoleAssignmentDetailsList:
      type: object
      properties:
        count:
          type: integer
          description: Number of role assignments.
        value:
          type: array
          items:
            $ref: '#/components/schemas/RoleAssignmentDetails'
    RoleAssignmentDetails:
      type: object
      properties:
        id:
          type: string
          description: Role Assignment ID.
        roleDefinitionId:
          type: string
          format: uuid
          description: Role Definition ID.
        principalId:
          type: string
          format: uuid
          description: Object ID of the AAD principal or security-group.
        scope:
          type: string
          description: Scope at which the role assignment is created.
        principalType:
          type: string
          description: Type of the principal.
          enum:
          - User
          - Group
          - ServicePrincipal
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      schema:
        type: string
        default: '2020-12-01'
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
          scopes:
            user_impersonation: impersonate your user account