액세스 토큰 패치 요청

액세스 토큰 패치 요청 (patchAccessTokenRequest)

Docker Hub 개인 액세스 토큰을 부분 수정(PATCH)할 때 보내는 요청 스키마예요. 토큰의 라벨이나 활성 여부를 변경할 수 있어요.

출처: 문서

본문

요청 본문은 is_activetoken_label 필드를 담을 수 있는 객체예요.

  • is_active: 토큰 활성화/비활성화
  • token_label: 토큰의 새 라벨
{
  "examples": [
    {
      "is_active": false,
      "token_label": "My read only token"
    }
  ],
  "properties": {
    "is_active": {
      "example": false,
      "type": "boolean"
    },
    "token_label": {
      "example": "My read only token",
      "type": "string"
    }
  },
  "type": "object"
}

더 알아보기