All Products
Search
Document Center

ApsaraDB RDS:UpdateSkill

Last Updated:Mar 05, 2026

Updates the information about a specified skill.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
rdsai:UpdateSkillupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SkillIdstringYes

The unique identifier of the skill.

8f6a2111-3828-4a9f-a3ce-51ce73c6****
NamestringNo

The name of the skill, which can contain only lowercase letters, numbers, and hyphens.

sql-optimization
DescriptionstringNo

The description of the Skill. It can be up to 1000 characters in length.

ContentobjectNo

The content of the skill.

DbtypesarrayNo

The list of database engines.

stringNo

The database engine that the instance runs.

MySQL

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

FE9C65D7-930F-57A5-A207-8C396329****
Idstring

The unique identifier of the skill.

d1b7d639-f34e-44c7-8231-987da14d****
Namestring

The name of the skill, which can contain only lowercase letters, numbers, and hyphens.

sql-review
Descriptionstring

The description of the skill. It can be up to 1000 characters in length.

Contentobject

The content of the skill.

Dbtypesarray

The list of database engines.

dbtypesstring

The database engine that the instance runs.

MySQL
SkillTypestring

The skill type.

user
UpdatedAtstring

The update time of the skill.

2026-02-04T21:14:45Z

Examples

Sample success responses

JSONformat

{
  "RequestId": "FE9C65D7-930F-57A5-A207-8C396329****",
  "Id": "d1b7d639-f34e-44c7-8231-987da14d****",
  "Name": "sql-review",
  "Description": "",
  "Content": {
    "test": "test",
    "test2": 1
  },
  "Dbtypes": [
    "MySQL"
  ],
  "SkillType": "user",
  "UpdatedAt": "2026-02-04T21:14:45Z"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterThe provided parameter is invalid.Invalid parameter.
400SkillNameInvalidSkill name can only contain lowercase letters, numbers and hyphens.-
400SkillDescriptionRequiredSkill description is required.-
400SkillDescriptionTooLongSkill description cannot exceed 1000 characters.-
400SkillNameDuplicatedSkill name already exists.-
403SkillNotEditableSystem skill cannot be edited.-
404SkillNotFoundSkill not found.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2026-02-26Add OperationView Change Details