Connection - Delete

Delete the connection.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}?api-version=2015-10-31

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName
path True
  • string

Name of an Azure Resource group.

Regex pattern: ^[-\w\._]+$

automationAccountName
path True
  • string

The name of the automation account.

connectionName
path True
  • string

The name of connection.

api-version
query True
  • string

Client Api Version.

Responses

Name Type Description
200 OK

OK

204 No Content

No Content

Other Status Codes

Automation error response describing why the operation failed.

Examples

Delete an existing connection

Sample Request

DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection?api-version=2015-10-31

Sample Response

Definitions

Connection

Definition of the connection.

ConnectionTypeAssociationProperty

The connection type property associated with the entity.

ErrorResponse

Error response of an operation failure

Connection

Definition of the connection.

Name Type Description
id
  • string

Fully qualified resource Id for the resource

name
  • string

The name of the resource

properties.connectionType

Gets or sets the connectionType of the connection.

properties.creationTime
  • string

Gets the creation time.

properties.description
  • string

Gets or sets the description.

properties.fieldDefinitionValues
  • object

Gets the field definition values of the connection.

properties.lastModifiedTime
  • string

Gets the last modified time.

type
  • string

The type of the resource.

ConnectionTypeAssociationProperty

The connection type property associated with the entity.

Name Type Description
name
  • string

Gets or sets the name of the connection type.

ErrorResponse

Error response of an operation failure

Name Type Description
code
  • string

Error code

message
  • string

Error message indicating why the operation failed.