Remove Entity assigned to Role
    • PDF

    Remove Entity assigned to Role

    • PDF

    Article Summary

    Delete entities (servers, accounts) assigned to role.

    API

    • DELETE /roles/{roleNo}/entities

    Requests

    Path Variables

    ParametersRequirement statusTypeRestrictionsDescription
    roleNoYStringRole No

    Body

    {
    	"entityIdList": [
    		"string"
    	]
    }
    
    ParametersRequirement statusTypeRestrictionsDescription
    entityIdListYarrayRole entity ID list
    roleEntityIdListYarrayDeprecated

    Responses

    • Responses
    Parameter nameRequirement statusTypeDescription
    ProcessResultYArrayProcessing result
    • Response examples - Success
    [
      {
        "id": "roleEntity",
        "name": "removeEntity",
        "success": true
      }
    ]
    
    • Response examples - No entity information
    [
      {
        "success": false,
        "id": "entityId",
        "message": "This entity is not registered."
      }
    ]
    

    Errors

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

    HTTP status codeError codeError message
    40130Wrong roleNo

    API

    • DELETE /roles/{roleNo}/entities/account

    Requests

    Path Variables

    ParametersRequirement statusTypeRestrictionsDescription
    roleNoYStringRole No

    Responses

    • Responses
    Parameter nameRequirement statusTypeDescription
    ProcessResultYArrayProcessing result
    • Response examples - Success
      {
        "success": true
      }
    

    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.