Deleting a Data Source

Function

This API is used to delete a data source. This API is compatible with Sahara.

URI

  • Format

    DELETE /v1.1/{project_id}/data-sources/{data_source_id}

  • Parameter description

    Table 1 URI parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Project ID. For details on how to obtain the project ID, see Obtaining a Project ID.

    data_source_id

    Yes

    Data source ID

Request

Request parameters

None.

Response

Response parameters

None.

Example

  • Example request

    DELETE /v1.1/{project_id}/data-sources/{data_source_id}
    
  • Example response

    None.

Status Code

Table 2 describes the status code of this API.

Table 2 Status code

Status Code

Description

204

The data source is deleted successfully.

For the description about error status codes, see Status Codes.