서브계정 Access Key 일시정지/일시정지해제
    • PDF

    서브계정 Access Key 일시정지/일시정지해제

    • PDF

    기사 요약

    서브계정의 Access Key를 일시정지/일시정지해제 합니다.

    요청

    요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

    메서드URI
    PUT/sub-accounts/{subAccountId}/access-keys

    요청 헤더

    필드설명
    acceptapplication/json으로 지정

    요청 경로 파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    subAccountIdStringRequiredAccess Key 소유 서브 계정 ID

    요청 바디 파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    accessKeyStringRequiredAccess Key Id
    activeBooleanRequired키 활성화 여부

    요청 예시

    요청 예시는 다음과 같습니다.

    curl -X PUT "https://subaccount.apigw.fin-ntruss.com/api/v1/sub-accounts/{subAccountId}/access-keys" 
    -H "accept: application/json" 
    -H "x-ncp-iam-access-key: {access key}" 
    -H "x-ncp-apigw-timestamp: 1594646226859" 
    -H "x-ncp-apigw-signature-v2: {signature}" 
    -H "cache-control: no-cache" 
    -H "pragma: no-cache"
    -d "{ \"accessKey\": \"{access key}\", \"active\": true}"
    

    응답

    응답 형식을 설명합니다.

    응답 바디

    응답 바디에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    ProcessResultProcessResult-처리 결과

    응답 상태 코드

    아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다.
    네이버 클라우드 플랫폼에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 Ncloud API 응답 상태 코드를 참조해 주십시오.

    HTTP status code에러 코드에러 메시지
    40130존재하지 않는 계정
    400904존재하지 않는 Access Key

    응답 예시

    응답 예시는 다음과 같습니다.

    {
        "success": true
    }
    

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

    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.