Editing a Database Masking Task
Function
This API is used to update information about a specified database masking task.
Calling Method
For details, see Calling APIs.
URI
PUT /v1/{project_id}/sdg/server/mask/dbs/templates/{template_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
|
template_id |
Yes |
String |
Task ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
type |
Yes |
String |
Task type. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
UpdateDBTemplateRequestBody |
Yes |
String |
Request body for updating a database masking task. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
msg |
String |
Returned message content, which is used to describe the operation result. |
|
status |
String |
Returned status code. For example, 200 indicates success, and 400 indicates an error. |
Status code: 201
Resource creation.
Example Requests
PUT /v1/{project_id}/sdg/server/mask/dbs/templates/{template_id}
string
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Updated. |
|
201 |
Resource creation. |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Resource not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot