共用方式為


Delete a connection type

 

The Delete a connection type operation removes a specified connection type.

All connections that are associated with the connection type that you delete will be unusable and should be removed, unless you create a new connection type that meets the following criteria:

  • Has the same name as the original connection type.

  • Has the same field definitions as the deleted connection type; however, it can have additional fields.

Request

To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, <automation-account-name> with the name of the automation account to use for making the request, and <connection-type-name> with the name of the connection type to delete. Include required URI parameters.

Method

Request URI

DELETE

https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/connectionTypes/<connection-type-name>?api-version=2014-12-08

URI Parameters

Parameter

Description

api-version

Required. Must be set to 2014-12-08.

Request Headers

The request header in the following table is required.

Request Header

Description

x-ms-version

Specifies the version of the operation. Set to 2013-06-01 or a later version.

Request Body

None

Response

Status Code

A successful operation returns 200 (OK). For information about common error codes, see HTTP/1.1 Status Code Definitions.

Response Headers

Request Header

Description

x-ms-request-id

A unique identifier for the current operation.

Response Body

None

See Also

Automation Connections
Operations on Automation