{"files":{"SKILL.md":"---\nname: azure-action-groups-api\ndescription: \"Azure Action Groups API skill. Use when working with Azure Action Groups for subscriptions. Covers 7 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Action Groups API\nAPI version: 2019-06-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName} -- get an action group.\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe -- create first subscribe\n\n## Endpoints\n7 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName} | Create a new action group or update an existing one. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName} | Get an action group. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName} | Delete an action group. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName} | Updates an existing action group's tags. To update other fields use the CreateOrUpdate method. |\n| GET | /subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups | Get a list of all action groups in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups | Get a list of all action groups in a resource group. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe | Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a actionGroup?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n- \"Get actionGroup details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n- \"Delete a actionGroup?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n- \"Partially update a actionGroup?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n- \"List all actionGroups?\" -> GET /subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups\n- \"Create a subscribe?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Azure Action Groups API\n@base https://management.azure.com\n@version 2019-06-01\n@auth OAuth2\n@endpoints 7\n@toc subscriptions(7)\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n@desc Create a new action group or update an existing one.\n@required {actionGroupName: any # The name of the action group., actionGroup: any # The action group to create or use for the update.}\n@returns(200) An existing action group was successfully updated.\n@returns(201) A new action group was successfully created.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n@desc Get an action group.\n@required {actionGroupName: any # The name of the action group.}\n@returns(200) The request succeeded.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n@desc Delete an action group.\n@required {actionGroupName: any # The name of the action group.}\n@returns(200) The action group was successfully deleted.\n@returns(204) The action group does not exist. It may have already been deleted.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}\n@desc Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.\n@required {actionGroupName: any # The name of the action group., actionGroupPatch: any # Parameters supplied to the operation.}\n@returns(200) An existing action group was successfully updated.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups\n@desc Get a list of all action groups in a subscription.\n@returns(200) The request succeeded.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups\n@desc Get a list of all action groups in a resource group.\n@returns(200) The request succeeded.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe\n@desc Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.\n@required {actionGroupName: any # The name of the action group., enableRequest: any # The receiver to re-enable.}\n@returns(200) The receiver was successfully enabled.\n@errors {409: The receiver is already enabled in the action group.}\n\n@end\n"}}