RollbackParameter

Updated at:

Rolls back a specified parameter.

Operation description

You must purchase DataWorks Professional Edition or higher to use this operation.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Id

integer

Yes

The ID of the parameter to roll back. You can obtain the ID from the PagingInfo.Parameters[].Id field in the response of the ListParameters operation.

12345

RollbackVersion

integer

Yes

The historical version number to restore, which must be less than the current version number. You can obtain the version number from the PagingInfo.ParameterVersion[].Version field in the response of the ListParameterVersions operation.

1

Response elements

Element

Type

Description

Example

object

Schema of Response

Success

boolean

Indicates whether the rollback was successful. After a successful rollback, the restored configuration is saved as a new version.

true

RequestId

string

The request ID.

6A6CBE87-9F91-1323-B680-E7A7065XXXXX

Examples

Success response

JSON format

{
  "Success": true,
  "RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.