Delete a business logic definition from the specified workspace.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Try it
RAM authorization
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. For more details:
- Action: the specific permission point.
- Access level: the level of access for each action. Valid values: Write, Read, and List.
-
Resource type: the resource types that support authorization for the action. For more details:
- For required resource types, an asterisk is prefixed.
- For operations that do not support resource-level authorization,
All resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent action: the other permissions required to successfully perform the operation. The caller must also have the permissions of the dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| dataanalysisgbi:DeleteBusinessLogic | none | *All resources * |
| None |
Request syntax
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workspaceId | string | Yes | ID of the Alibaba Cloud Model Studio workspace used for this request. | llm-2v3934xtp49esw64 |
| body | object | No | Request body parameters. | |
| businessLogicIdKeys | array | Yes | List of unique identifiers of the business logic definitions. | |
| Id | string | No | Unique identifier of the business logic definition. | businessLogic-AAAAAAAAAGAIyJoP7LbKuA |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Result | ||
| data | any | Response message. | true |
| errorMsg | string | Error description. | NoAuth |
| code | string | Error code. | NoAuth |
| success | boolean | Returns true if the call succeeds. Returns false if the call fails. | true |
| requestId | string | Unique ID for this request. Use it to troubleshoot issues. | FB11F719-9AC8-5C99-AB0A-4709D437FCFC |
Examples
Success response
JSON format
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 401 | Internal.Error | Bad Request: Internal Error. | Internal error. Contact customer service personnel to troubleshoot. |
| 401 | NoAuth | Bad Request: Workspace.Illegal.Auth. | The current account does not have permission on the specified workspace. |
| 401 | NoResourceAuth | Bad Request: Resource Auth Error. | You do not have permission on the requested resource. Make sure the requested resource belongs to the workspace specified in the parameters. |
| 401 | SystemOperationInProgress | Xiyan GBI is learning your previous modifications. Please try again later. | Xiyan GBI is learning your previous modifications. Please try again later. |