Updates an image token.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:RefreshRegistryToken |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegistryId |
integer |
Yes |
The ID of the image repository. Note
You can call the PageImageRegistry operation to obtain the ID. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The returned token. |
77ba3bf5-af95-4b77-aa94-*********** |
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
Examples
Success response
JSON format
{
"Data": "77ba3bf5-af95-4b77-aa94-***********",
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.