Updates the labels of an experiment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiexperiment:SetExperimentLabel |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/experiments/{ExperimentId}/labels HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExperimentId |
string |
Yes |
The ID of the experiment. |
exp-1zpfthdx****** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Labels |
array |
No |
A list of labels. |
|
| LabelInfo |
No |
The details of a label, including its key and value. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
5A14FA81-DD4E-******-6343FE44B941 |
Examples
Success response
JSON format
{
"RequestId": "5A14FA81-DD4E-******-6343FE44B941"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.