Skip to main content
PUT
/
objs
/
{object_id}
/
versions
/
{digest}
/
tags
Obj Add Tags
curl --request PUT \
  --url https://api.example.com/objs/{object_id}/versions/{digest}/tags \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

object_id
string
required
digest
string
required

Body

application/json

Request body for adding/removing tags (object_id and digest come from path).

project_id
string
required
Example:

"entity/project"

tags
string[]
required
Example:
["production", "reviewed"]

Response

Successful Response

The response is of type ObjAddTagsRes · object.