Microsoft Azure

AuthorizationManagementClient: Authorization

Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations…

Identity & security#openapi#cloud

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

Endpoints 19

ElevateAccess

  • POSTElevateAccess_Post/providers/Microsoft.Authorization/elevateAccess?api-version=stringElevates access for a Global Administrator.

ProviderOperationsMetadata

  • GETProviderOperationsMetadata_List/providers/Microsoft.Authorization/providerOperations?api-version=string&$expand=resourceTypesGets provider operations metadata for all resource providers.
  • GETProviderOperationsMetadata_Get/providers/Microsoft.Authorization/providerOperations/:resourceProviderNamespace?api-version=string&$expand=resourceTypesGets provider operations metadata for the specified resource provider.

RoleAssignments

  • GETRoleAssignments_List/subscriptions/:subscriptionId/providers/Microsoft.Authorization/roleAssignments?$filter=string&api-version=stringGets all role assignments for the subscription.
  • GETRoleAssignments_ListForResourceGroup/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/roleAssignments?$filter=string&api-version=stringGets role assignments for a resource group.
  • GETRoleAssignments_ListForResource/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/roleAssignments?$filter=string&api-version=stringGets role assignments for a resource.
  • GETRoleAssignments_GetById/:roleAssignmentId?api-version=stringGets a role assignment by ID.
  • PUTRoleAssignments_CreateById/:roleAssignmentId?api-version=stringCreates a role assignment by ID.
  • DELETERoleAssignments_DeleteById/:roleAssignmentId?api-version=stringDeletes a role assignment.
  • GETRoleAssignments_ListForScope/:scope/providers/Microsoft.Authorization/roleAssignments?$filter=string&api-version=stringGets role assignments for a scope.
  • GETRoleAssignments_Get/:scope/providers/Microsoft.Authorization/roleAssignments/:roleAssignmentName?api-version=stringGet the specified role assignment.
  • PUTRoleAssignments_Create/:scope/providers/Microsoft.Authorization/roleAssignments/:roleAssignmentName?api-version=stringCreates a role assignment.
  • DELETERoleAssignments_Delete/:scope/providers/Microsoft.Authorization/roleAssignments/:roleAssignmentName?api-version=stringDeletes a role assignment.

Permissions

  • GETPermissions_ListForResourceGroup/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Authorization/permissions?api-version=stringGets all permissions the caller has for a resource group.
  • GETPermissions_ListForResource/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/permissions?api-version=stringGets all permissions the caller has for a resource.

RoleDefinitions

  • GETRoleDefinitions_List/:scope/providers/Microsoft.Authorization/roleDefinitions?$filter=string&api-version=stringGet all role definitions that are applicable at scope and above.
  • GETRoleDefinitions_Get/:scope/providers/Microsoft.Authorization/roleDefinitions/:roleDefinitionId?api-version=stringGet role definition by name (GUID).
  • PUTRoleDefinitions_CreateOrUpdate/:scope/providers/Microsoft.Authorization/roleDefinitions/:roleDefinitionId?api-version=stringCreates or updates a role definition.
  • DELETERoleDefinitions_Delete/:scope/providers/Microsoft.Authorization/roleDefinitions/:roleDefinitionId?api-version=stringDeletes a role definition.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
19 operations on 13 pathsGET 12PUT 3DELETE 3POST 1
Main resources
RoleAssignments 10RoleDefinitions 4Permissions 2ProviderOperationsMetadata 2ElevateAccess 1
Response formats
application/json text/json
Description format
Swagger 2.0, API version 2015-07-01
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the AuthorizationManagementClient: Authorization in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the AuthorizationManagementClient: Authorization collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “ElevateAccess_Post” (POST /providers/Microsoft.Authorization/elevateAccess?api-version=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the AuthorizationManagementClient: Authorization?

Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations… It is listed under Identity & security and has 19 endpoints.

Who publishes the AuthorizationManagementClient: Authorization?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the AuthorizationManagementClient: Authorization?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the AuthorizationManagementClient: Authorization?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the AuthorizationManagementClient: Authorization have?

19 operations on 13 paths (12 GET, 3 PUT, 3 DELETE, 1 POST). The largest groups are RoleAssignments, RoleDefinitions, Permissions, ProviderOperationsMetadata.

Is forking the AuthorizationManagementClient: Authorization free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.