AttachTag
    • PDF

    AttachTag

    • PDF

    Article Summary

    • 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 Headers

    요청

    Request body

    {
      "nrnList": [ 
      	"string"
      ],
      "tagKey": "string",
      "tagValue": "string"
    }
    
    파라미터필수여부타입제약사항설명
    nrnListYarray of string
    tagKeyYstring
    tagValueYstring

    응답

    Response body

    {
      "success": "boolean",
      "error": {
        "errorCode": "integer",
        "message": "string"
      }
    }
    
    항목타입설명비고
    successboolean
    errorobject
    - errorCodeinteger
    - messagestring

    에러

    아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다. 에러 응답 형식은 ErrorResponse를 참조하세요.

    공통적으로 발생하는 에러에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요.

    HTTP status codemessage
    400'nrnList' cannot be empty.
    400'tagKey' cannot be empty.
    400'tagValue' cannot be empty.

    이 문서가 도움이 되었습니까?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.