액세스 토큰 패치 요청
액세스 토큰 패치 요청 (patchAccessTokenRequest)
Docker Hub 개인 액세스 토큰을 부분 수정(PATCH)할 때 보내는 요청 스키마예요. 토큰의 라벨이나 활성 여부를 변경할 수 있어요.
출처: 문서
본문
요청 본문은 is_active와 token_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"
}
더 알아보기
- 액세스 토큰 패치 응답 (patchAccessTokenResponse): 수정 결과 응답 구조를 확인해요.
- 개인 액세스 토큰 수정 작업: 이 요청을 보내는 API 호출을 살펴봐요.