Delete contract definition by its id
Removes contract definition with the given ID if possible
Path Parameters
- id string required
Responses
- 200
- 400
- 404
Contract definition was deleted successfully
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
{
"message": "string",
"level": "string"
}
Request body was malformed, e.g. id was null
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Contract definition with the given ID does not exist
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
DELETE /contractdefinitions/:id
Request
Request
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'
curl -L -X DELETE 'https://dgk.cx.dev.dih-cloud.com/contractdefinitions/:id' \
-H 'Accept: application/json'