Delete MSSQL Subclient
Select
SaaS
Customer Managed
This operation will delete a MSSQL subclient
Path Parameters
- subclientId string required
Id of the subclient
Responses
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"appName": "string",
"clientName": "string",
"subclientName": "string",
"backupsetName": "string",
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"subclientId": 64147,
"clientId": 343,
"instanceName": "AUTOSQLSPX-NF\\SQLAUTO2017",
"appName": "SQL Server",
"clientName": "autosqlspx-nf",
"subclientName": "Test subclient - backup",
"backupsetName": "defaultBackupSet",
"_type_": 0
}
}
]
}
Bad Request
- application/json
- Schema
- Example
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to get any subclient for given association. Check if it is valid",
"errorCode": 4
}
DELETE /subclient/:subclientid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'