Azure role · integration
API Management Developer Portal Content EditorAzure built-in role
Can customize the developer portal, edit its content, and publish it.
Read onlyChange some thingsChange anythingGive access to others
Medium risk. It can create, change or delete some resources in scope.
In short: API Management Developer Portal Content Editor is an Azure built-in role with 8 actions.
| Role ID | c031e6a8-4391-4de0-8d69-4706a7ed3729 |
|---|---|
| Category | Integration |
| Actions | 8 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.ApiManagement/service/portalRevisions/read | Lists a collection of developer portal revision entities. or Gets developer portal revision specified by its identifier. |
Microsoft.ApiManagement/service/portalRevisions/write | Creates a new developer portal revision. or Updates the description of specified portal revision or makes it current. |
Microsoft.ApiManagement/service/contentTypes/read | Returns list of content types or Returns content type |
Microsoft.ApiManagement/service/contentTypes/delete | Removes content type. |
Microsoft.ApiManagement/service/contentTypes/write | Creates new content type |
Microsoft.ApiManagement/service/contentTypes/contentItems/read | Returns list of content items or Returns content item details |
Microsoft.ApiManagement/service/contentTypes/contentItems/write | Creates new content item or Updates specified content item |
Microsoft.ApiManagement/service/contentTypes/contentItems/delete | Removes specified content item. |
Assign it
Scope it as tightly as you can: a resource or resource group rather than the whole subscription.
az role assignment create \
--assignee "jane.doe@contoso.com" \
--role "API Management Developer Portal Content Editor" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "API Management Developer Portal Content Editor" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"What each line does
- Line 1: Creates a role assignment in Azure. Makes a change.
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'c031e6a8-4391-4de0-8d69-4706a7ed3729')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c031e6a8-4391-4de0-8d69-4706a7ed3729')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "c031e6a8-4391-4de0-8d69-4706a7ed3729"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other integration roles
- App Configuration Data Reader · 1 permission
- DeID Batch Data Reader · 1 permission
- DeID Data Owner · 1 permission
- DeID Realtime Data User · 1 permission
- DICOM Data Owner · 1 permission
- DICOM Data Reader · 1 permission
- Durable Task Data Contributor · 1 permission
- Durable Task Worker · 1 permission
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/azure/api-management-developer-portal-content-editor/">API Management Developer Portal Content Editor Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.