Soft-delete a provider template
Sets isValid=false on the template. The row is preserved for audit purposes but excluded from all default queries (isValid defaults to true).
ApiScope: manage.providertemplate.write
API Scope Level: DealerScope
Path Parameters
dealerUUID string required
Dealer UUID
providerTemplateUuid string required
UUID of the template to delete
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
links object
property name* string
providerTemplate object
uuid string
dealerUuid string
templateName string
friendlyName string
metaDisplayName string
category string
contentSid string
language string
body string
approvalStatus string
type string
channel string
isValid boolean
rejectionReason string
isManual boolean
isActive boolean
dateCreated string
dateUpdated string
insertTs string
updateTs string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"links": {},
"providerTemplate": {
"uuid": "string",
"dealerUuid": "string",
"templateName": "string",
"friendlyName": "string",
"metaDisplayName": "string",
"category": "string",
"contentSid": "string",
"language": "string",
"body": "string",
"approvalStatus": "string",
"type": "string",
"channel": "string",
"isValid": true,
"rejectionReason": "string",
"isManual": true,
"isActive": true,
"dateCreated": "string",
"dateUpdated": "string",
"insertTs": "string",
"updateTs": "string"
}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Loading...