All Products
Search
Document Center

Server Migration Center:ModifyWorkgroupAttribute

Last Updated:Oct 29, 2024

Modifies the name and description of a workgroup.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
WorkgroupIdstringYes

The workgroup ID.

w-***
NamestringNo

The new name of the workgroup. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

testMigrationTaskName
DescriptionstringNo

The new description of the workgroup.

The description must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

test

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

3E8B9ABB-289A-44E6-942D-8AA9E493****

Examples

Sample success responses

JSONformat

{
  "RequestId": "3E8B9ABB-289A-44E6-942D-8AA9E493****"
}

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.UnauthorizedA required authorization for the specified action is not supplied.-
500InternalErrorAn error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket.An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket.

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