cURL
curl --request PUT \ --url https://api.example.com/objs/{object_id}/aliases \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "project_id": "<string>", "digest": "<string>", "aliases": [ "<string>" ] } '
{}
Set aliases for an object version.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request body for setting aliases (object_id comes from path).
"entity/project"
"abc123def"
["staging", "v1-candidate"]
Successful Response
The response is of type ObjSetAliasesRes · object.
ObjSetAliasesRes · object
Was this page helpful?