{ "uuid": "747ff866-5e1f-440d-9aad-ed042dda3eca", "lastMigration": 19, "name": "PolicyClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "a79dc34a-2811-4995-89ed-63e6bbf62d07", "documentation": "Retrieves all policy assignments that apply to a management group.", "method": "get", "endpoint": "providers/Microsoft.Management/managementgroups/:managementGroupId/providers/Microsoft.Authorization/policyAssignments", "responses": [ { "uuid": "90b0068f-2a69-472a-83cc-7f3350a2225a", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "4effe7d5-f073-472b-a05b-b1d58ab3c967", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "473d3db4-3872-4845-8606-cb1dd5b05b0c", "documentation": "Retrieves all policy assignments that apply to a subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/policyAssignments", "responses": [ { "uuid": "3a22e536-744c-4fa2-80e0-b26e919f535e", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "9b411683-e3cc-4b66-ae4b-3e82605a74cb", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "88049db0-0bdc-44e3-b5f9-a2178ea33d0c", "documentation": "Retrieves all policy assignments that apply to a resource group.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/policyAssignments", "responses": [ { "uuid": "fc5ea0f9-4c0b-4baa-a796-391e22c533ae", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "6042c04a-202b-40b2-8a06-12d349473d80", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "9fde7ea2-a404-44a2-8161-8c35096c60c6", "documentation": "Retrieves all policy assignments that apply to a resource.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/policyAssignments", "responses": [ { "uuid": "af664d9c-8bbb-40bc-9538-aebbd3e53ffd", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "ef749b64-5c57-40df-b615-ba1ed66dfa75", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "03ae278e-6307-47b2-9960-4eab3c88519c", "documentation": "Deletes a policy assignment.", "method": "delete", "endpoint": ":policyAssignmentId", "responses": [ { "uuid": "54816023-e30a-4ca4-a562-fbacd205d6d9", "body": "{\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "36ea2525-9afd-4f31-8b18-ed4db03ff2bd", "body": "", "latency": 0, "statusCode": 204, "label": "No Content - the policy assignment doesn't exist.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "08da8720-ca95-4bd9-b89e-7e2b05e75b0c", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "75f4134d-8c25-42b9-b93a-35bebd0a47e1", "documentation": "Retrieves the policy assignment with the given ID.", "method": "get", "endpoint": ":policyAssignmentId", "responses": [ { "uuid": "b1b56ebc-8d60-4ac9-aad2-14adeb36c00a", "body": "{\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "96bd438a-f4ec-412b-b5be-3975799c95bd", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "d633cd11-cd95-4b1c-80ca-166bb46ca4cb", "documentation": "Creates or updates a policy assignment.", "method": "put", "endpoint": ":policyAssignmentId", "responses": [ { "uuid": "190417fc-aec8-41e2-afe7-72252b917cce", "body": "{\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns information about the policy assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "206d90a8-2051-40a6-9313-b11ddfd51ce6", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "4f49ffeb-defd-4e11-90d8-951f11613510", "documentation": "Deletes a policy assignment.", "method": "delete", "endpoint": ":scope/providers/Microsoft.Authorization/policyAssignments/:policyAssignmentName", "responses": [ { "uuid": "1deab4c0-a3fb-4ead-ae33-4326b653b687", "body": "{\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the deleted assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "5b003338-c52d-4153-9cef-c931ef4f03f9", "body": "", "latency": 0, "statusCode": 204, "label": "No Content - the policy assignment doesn't exist.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "92fb28e7-8ae9-432c-b8e9-7876aaf8d484", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "521a962c-cab6-4cb0-a729-8cf438487dcd", "documentation": "Retrieves a policy assignment.", "method": "get", "endpoint": ":scope/providers/Microsoft.Authorization/policyAssignments/:policyAssignmentName", "responses": [ { "uuid": "36831055-4432-416e-bb8f-98aee840ec1e", "body": "{\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "8ffaefb4-c0a0-4245-a6b0-9b50a91033e4", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "068e8929-3d97-45a0-b381-cc1f814c0b53", "documentation": "Creates or updates a policy assignment.", "method": "put", "endpoint": ":scope/providers/Microsoft.Authorization/policyAssignments/:policyAssignmentName", "responses": [ { "uuid": "14393df7-7bd4-46cf-b5eb-7be0d3377358", "body": "{\n \"id\": \"\",\n \"identity\": {\n \"principalId\": \"\",\n \"tenantId\": \"\",\n \"type\": \"{{oneOf (array 'SystemAssigned' 'None')}}\"\n },\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"enforcementMode\": \"{{oneOf (array 'Default' 'DoNotEnforce')}}\",\n \"metadata\": {},\n \"notScopes\": [\n \"\"\n ],\n \"parameters\": {},\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns information about the new policy assignment.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "0a7b8a1c-1b63-4c21-a192-a75be8a5f15f", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {},\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"details\": [\n \"\"\n ],\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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": "" } ] }