メインコンテンツへスキップ
POST
/
objs
/
{object_id}
/
versions
/
{digest}
/
tags
/
remove
オブジェクトからタグを削除
curl --request POST \
  --url https://api.example.com/objs/{object_id}/versions/{digest}/tags/remove \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{}

承認

Authorization
string
header
必須

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

パスパラメータ

object_id
string
必須
digest
string
必須

ボディ

application/json

タグを追加または削除するためのリクエストボディです(object_id と digest はパスから取得されます)。

project_id
string
必須
:

"entity/project"

tags
string[]
必須
:
["production", "reviewed"]

レスポンス

正常なレスポンス

The response is of type ObjRemoveTagsRes · object.