{ "uuid": "f08875a1-4400-4262-acd7-0600ef3d7ec7", "lastMigration": 19, "name": "AuthorizationManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "f94e50db-4247-45c7-8454-2ebc52908e49", "documentation": "Gets all role assignments for the subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/roleAssignments", "responses": [ { "uuid": "3c7f7c0a-bdf8-4334-a46b-61deda9c1545", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of role assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "2d0cfbb8-a474-45ab-bbea-502c269d16db", "documentation": "Gets role assignments for a resource group.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/roleAssignments", "responses": [ { "uuid": "aa4f1b98-cb3f-4400-916a-7c2f3a6961f6", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of role assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "c333fa49-ad78-42b1-b9b8-f89c4c9d6827", "documentation": "Gets role assignments for a resource.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/roleAssignments", "responses": [ { "uuid": "a33fab31-148d-443b-8041-ef8b4d223e25", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of role assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "9df815de-eda2-476d-8c03-cb1bf224f23c", "documentation": "Deletes a role assignment.", "method": "delete", "endpoint": ":roleId", "responses": [ { "uuid": "83137d47-f635-4836-bfc1-81aa12027cf5", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the role assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "2fc57779-a38c-4d30-a45b-4face0978d8c", "documentation": "Gets a role assignment by ID.", "method": "get", "endpoint": ":roleId", "responses": [ { "uuid": "685b09ef-7231-4a18-82cd-e20b1c062ae4", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns the role assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "8aad3843-94d6-4712-afb0-68d29a9d96e6", "documentation": "Creates a role assignment by ID.", "method": "put", "endpoint": ":roleId", "responses": [ { "uuid": "a387d828-8f9f-457d-bf17-5a70a8275f26", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns the role assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "3d50c737-6ee7-4422-b552-38d7987d18f9", "documentation": "Gets role assignments for a scope.", "method": "get", "endpoint": ":scope/providers/Microsoft.Authorization/roleAssignments", "responses": [ { "uuid": "576b4cf9-7048-4dbd-9929-a22186cc0a8a", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of role assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "853cf99e-86c4-4c4b-98d0-dda0cc39b1c3", "documentation": "Deletes a role assignment.", "method": "delete", "endpoint": ":scope/providers/Microsoft.Authorization/roleAssignments/:roleAssignmentName", "responses": [ { "uuid": "0a01b5ce-3d5c-4973-afba-b6666f63049a", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the role assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "6a3d51bd-8ed7-46a6-9782-d278013e8d94", "documentation": "Get the specified role assignment.", "method": "get", "endpoint": ":scope/providers/Microsoft.Authorization/roleAssignments/:roleAssignmentName", "responses": [ { "uuid": "7f339968-3658-49ce-8ff4-7a9aa71894ff", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the role assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "6d8be154-2b4f-4943-bf45-9f367526c791", "documentation": "Creates a role assignment.", "method": "put", "endpoint": ":scope/providers/Microsoft.Authorization/roleAssignments/:roleAssignmentName", "responses": [ { "uuid": "2269636b-35e6-4725-b897-b9e5ac851256", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"canDelegate\": {{faker 'random.boolean'}},\n \"principalId\": \"\",\n \"principalType\": \"{{oneOf (array 'User' 'Group' 'ServicePrincipal' 'Unknown' 'DirectoryRoleTemplate' 'ForeignGroup' 'Application' 'MSI' 'DirectoryObjectOrGroup' 'Everyone')}}\",\n \"roleDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns information about the role assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }