Remove Policy assigned to Role
    • PDF

    Remove Policy assigned to Role

    • PDF

    Article summary

    • Delete the policy assigned to the Role.

    API

    • DELETE /roles/{roleNo}/policies

    Request

    Path Variables

    ParameterMandatoryTypeConstraintsDescription
    roleNoYStringRole No

    ##### Body

    {
    	"policyIdList": [
    		"string"
    	]
    }
    
    ParameterMandatoryTypeConstraintsDescription
    policyIdListYarrayPolicy Id List

    Response

    • Response
    Parameter NameMandatoryTypeConstraints
    ProcessResultYArrayProcessing Result
    • Example Response - Success
    [
      {
        "id": "policyId",
        "name": "removePolicy",
        "success": true
      }
    ]
    
    • Example Response - No Policy Information
    [
      {
        "success": false,
        "id": "policyId",
        "message": "Unregistered policy."
      }
    ]
    

    Error

    Errors that may occur while using this action are listed below. For error response format, please see ErrorResponse.
    For more information about common errors, refer to Naver Cloud Platform API.

    HTTP status codeError CodeError Message
    40130This account does not exist.

    Was this article helpful?

    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.