# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Microsoft Azure ApiManagementClient API Policy API version: 1.0.0 extends: openapi/microsoft-azure-apipolicy-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-10-01' generator: build-phrasing.py label: Generated by API Evangelist operations: 5 - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/policies'].get update: x-apievangelist-phrasing: intent: List policies on an API in an APIM workspace effect: read questions: - Which policies are applied at the API level in my API Management workspace? - Can I list every policy configuration attached to one workspace API? instructions: - text: List the API-level policies of API {api} in workspace {workspace} on service {service}. slots: api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Show all policy configurations attached to workspace API {api}. slots: api: path.apiId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/policies/{policyId}'].get update: x-apievangelist-phrasing: intent: Get an API-level policy in an APIM workspace effect: read questions: - How do I read the policy XML for a specific API in an APIM workspace? - Can I fetch one policy configuration by its identifier for a workspace API? instructions: - text: Read API-level policy {policy} of API {api} in workspace {workspace} on service {service}. slots: policy: path.policyId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Show the single policy document {policy} on the APIM workspace API. slots: policy: path.policyId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/policies/{policyId}'].put update: x-apievangelist-phrasing: intent: Create or update an API policy in an APIM workspace effect: write questions: - Can I set a policy on an API inside an API Management workspace? - How do I change the policy configuration of a workspace API? instructions: - text: Create or update policy {policy} for API {api} in workspace {workspace} on service {service}. slots: policy: path.policyId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Apply a new API-level policy to workspace API {api}. slots: api: path.apiId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/policies/{policyId}'].delete update: x-apievangelist-phrasing: intent: Delete an API policy in an APIM workspace effect: destructive questions: - Can I remove the policy configuration from an API in an APIM workspace? - Is there a way to delete an API-level policy entirely? instructions: - text: Delete policy {policy} from API {api} in workspace {workspace} on service {service}. slots: policy: path.policyId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Remove the API-level policy from workspace API {api}. slots: api: path.apiId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/policies/{policyId}'].head update: x-apievangelist-phrasing: intent: Get the ETag of an API policy in a workspace effect: read questions: - How can I get an API policy's ETag before editing it? - What entity version is an APIM workspace API policy at? instructions: - text: Get the ETag of policy {policy} on API {api} in workspace {workspace}, service {service}. slots: policy: path.policyId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Check the entity state version of workspace API policy {policy}. slots: policy: path.policyId method: generated generated: '2026-10-01'