Deleting a Consumer Application

Initialize a DIS client as instructed in Initializing a DIS SDK Client Instance.

Run the DIS SDK command to delete the consumer application.

String appName = "appName";
            var dic = new DISIngestionClient();
            var request = new CreateAppRequest
            {
//Name of the consumer application to be deleted.
                AppName = appName,
            };

            var response = dic.DeleteApp(request);
            Console.Out.WriteLine(response);

Viewing Execution Results

Information similar to the following is displayed on the console:

{ResponseResult{status_code='204 NO CONTENT', content='', errorCode='', message=''}}
Table 1 Description of response parameter ResponseResult

Parameter

Type

Description

content

String

Response body.

errorCode

String

Error code.

message

String

Error response body.

status_code

String

Status code.