swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ResourceActions API schemes: - https tags: - name: ResourceActions paths: ? /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/resourceActions/{resourceActionName}/deleteResources : post: tags: - ResourceActions description: Deletes resources. operationId: microsoftAzureResourceactionsDeleteresources produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/ProviderNamespaceParameter' - $ref: '#/parameters/ResourceActionParameter' - name: properties in: body required: true schema: $ref: '#/definitions/ResourceManagementAction' description: The properties supplied to the DeleteResources operation. - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter responses: '202': description: Resource management action started. schema: $ref: '#/definitions/ResourceManagementAction' default: description: Error schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: ResourceActions_DeleteResources: $ref: ./examples/ResourceActions_DeleteResources.json x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: azure-async-operation summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Providerhub Providerregistrations Providernamespace Resourceactions Resourceactionname Deleteresources definitions: ErrorResponse: description: Standard error response. type: object properties: error: description: Standard error object. allOf: - $ref: '#/definitions/Error' ResourceManagementAction: type: object properties: resources: type: array description: resource management action content. x-ms-client-flatten: true items: $ref: '#/definitions/ResourceManagementEntity' ResourceManagementEntity: required: - resourceId type: object properties: resourceId: type: string description: The resource id. homeTenantId: type: string description: The home tenant id. location: type: string description: The location. status: readOnly: true type: string description: The operation status. InnerError: description: Inner error containing list of errors. type: object properties: code: description: Specific error code than was provided by the containing error. type: string readOnly: true innerError: description: Object containing more specific information than the current object about the error. type: object readOnly: true additionalProperties: type: object Error: description: Standard error object. type: object properties: code: description: Server-defined set of error codes. type: string readOnly: true message: description: Human-readable representation of the error. type: string readOnly: true target: description: Target of the error. type: string readOnly: true details: description: Array of details about specific errors that led to this reported error. type: array items: $ref: '#/definitions/Error' readOnly: true innerError: description: Object containing more specific information than the current object about the error. allOf: - $ref: '#/definitions/InnerError' readOnly: true parameters: ResourceActionParameter: in: path name: resourceActionName description: The resource action name. required: true type: string x-ms-parameter-location: method ProviderNamespaceParameter: in: path name: providerNamespace description: The name of the resource provider hosted within ProviderHub. required: true type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'