AttachTag
- 印刷する
- PDF
AttachTag
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
当該コンテンツは、ローカリゼーションサービスを準備しております。早急にローカライズサービスをご提供できるよう、努めております。
- ResourceにTagを割り当てます。
API
POST /api/v1/resource-tags
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key or STS Access Key}`
x-ncp-apigw-signature-v2: {API Gateway Signature}
API Header
Request
Request body
{
"nrnList": [
"string"
],
"tagKey": "string",
"tagValue": "string"
}
パラメータ | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
nrnList | Y | array of string | ||
tagKey | Y | string | ||
tagValue | Y | string |
Response
Response body
{
"success": "boolean",
"error": {
"errorCode": "integer",
"message": "string"
}
}
パラメータ名 | 必須 | タイプ | 説明 |
---|---|---|---|
success | boolean | ||
error | object | ||
- errorCode | integer | ||
- message | string |
Error
以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。エラーレスポンス形式はErrorResponseを参照してください。
共通して発生するエラーに対する詳細説明は、NAVERクラウドプラットフォームAPIを参考にしてください。
HTTP status code | message |
---|---|
400 | 'nrnList' cannot be empty. |
400 | 'tagKey' cannot be empty. |
400 | 'tagValue' cannot be empty. |
この記事は役に立ちましたか?