Delete source documents.
Debug
You can run this API directly in OpenAPI Explorer, saving you from computing signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information of this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Operation: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, and List.
-
Resource type: the resource types that support authorization in the operation. Details are as follows:
- Required resource types are marked with an asterisk (*) before them.
- For operations that do not support resource-level authorization,
All Resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of related operations at the same time for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| aimiaobi:DeleteDatasetDocument | delete | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique identifier of the Alibaba Cloud Model Studio workspace: Get workspaceId | llm-xx |
| DatasetId | long | No | The unique identifier of the dataset. Either DatasetId or DatasetName is required. | 1 |
| DatasetName | string | No | Dataset name | Dataset name |
| DocId | string | No | The unique ID of the document specified by the user | xxx |
| DocUuid | string | No | The internal unique identifier of the document | xxx |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Response result | ||
| Data | array | Business data | |
| Data | string | The unique identifier of the deleted document | xxx |
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request was successful. A value of true indicates that the request was successful. A value of false indicates that the request failed. | true |
| Code | string | The status code. | NoData |
| Message | string | A description of the error. | success |
| HttpStatusCode | integer | The HTTP status code. | 200 |
Examples
Success response
JSON format