Skip to main content

DeleteCustomText

Deletes a custom text.

Try it now

You can run this API directly in OpenAPI Explorer without worrying about calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples. Try it now

RAM authorization

The following table describes the authorization information for this API. You can use it in the Action element of a RAM permission policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:
  • Action: the specific permission point.
  • Access level: the access level of each action. Valid values: Write, Read, or List.
  • Resource type: the resource types that support authorization for the action. Details are as follows:
    • Required resource types are marked with a leading asterisk (*).
    • For operations that do not support resource-level authorization, All resources is 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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:DeleteCustomTextdelete
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier of the workspace: AgentKey

xxxxx_p_efm
IdlongYes

The primary key ID.

85
CommodityCodestringNo

The commodity code.

commoditycode

Response elements

NameTypeDescriptionExample value
object

PlainResult

Codestring

Status code

successful
Databoolean

Indicates whether the deletion is successful.

true
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

successful
RequestIdstring

Id of the request

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Indicates whether the request is successful. true indicates success and false indicates failure.

true

Examples

Success response JSON format
{
  "Code": "successful",
  "Data": true,
  "HttpStatusCode": 200,
  "Message": "successful",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

For more error codes, visit the Error Center.