Delete Control Plane Configuration

delete

/api/v1/configuration/cpConfig/{configName}

Deletes the specified control plane configuration.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

400 Response

Bad Request
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source

409 Response

Operation conflict
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source
Back to Top

Examples

This endpoint is used to delete a specified control plane configuration in your Blockchain platform.

The following example shows how to delete a control plane configuration by submitting a DELETE request on the REST resource using cURL.

curl -X DELETE \
  http://<hostname>:<port>/api/v1/configuration/cpConfig/<unique control plane config identifier>

For example,

curl -X DELETE \
  http://localhost:17070/api/v1/configuration/cpConfig/myCPconfig

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
    "status": "200",
    "message": "Configuration deleted successfully"
}
Back to Top