Deleting a PLAS Connector¶
Function¶
This API is used to delete a PLAS connector based on the connector ID. The deletion is asynchronous. Based on the URL returned, you can query the deletion progress.
URI¶
URI format
DELETE /v1.0/plasconnector/connectors/{connector_id}
Parameter description
Parameter
Mandatory
Type
Description
connector_id
Yes
String
Indicates the PLAS connector ID.
The value is a string of 1 to 36 characters.
Request¶
Parameter description
None
Sample request
DELETE /v1.0/plasconnector/connectors/e7b778a7-5d94-4263-813f-4aec18473a5a HTTP/1.1
Content-Type:application/json
Accept:application/json;
X-Auth-Token:MIIDwAYJKoZIhvcNAQcCoIIDsTCCA60CAQExDTALBglghkgB
Response¶
Parameter description
Parameter
Mandatory
Type
Description
location
Yes
String
Indicates the URL, through which you can query the operation progress.
The value is a string of 1 to 255 characters.
Sample response
HTTP/1.1 200 OK
Content-Type:application/json
Cache-Control:no-cache
HTTP/1.1 202 OK
Content-Type:application/json
Cache-Control:no-cache
{
"location":"/v1.0/plasconnector/connectors/e7b778a7-5d94-4263-813f-4aec18473a5a/operations/95a44e38-5d61-44ca-a5c4-f241812fbd51"
}
Returned Value¶
Normal
Returned Value
Description
200 OK
The PLAS connector is successfully deleted.
202 OK
The request has been accepted for processing, but the processing has not been completed.
Abnormal
Returned Value
Description
400 Bad Request
The server failed to process the request.
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.