Deleting policies in Permission Set
    • PDF

    Deleting policies in Permission Set

    • PDF

    Article summary

    You can delete a list of policies in a PermissionSet.

    Requests

    • POST /permission-sets/{permissionSetId}/delete-policies

    Request path

    ParametersRequirement statusTypeRestrictionsDescription
    permissionSetIdYStringPermissionSet ID

    Request bodies

    {
        "systemManagedPolicyIds": ["String", "String"],
        "userCreatedPolicyNames": ["String", "String"]
    }
    
    ParametersRequirement statusTypeDescriptionRestrictions
    systemManagedPolicyIdsNArrayID list of system management policies
    userCreatedPolicyNamesNArrayList of policies created by the user

    Responses

    Response bodies

    {
      "success": "boolean",
      "message": "String"
    }
    
    ParametersTypeDescriptionRestrictions
    successBooleanWhether it is a success
    messageArrayFailure error message

    Errors

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

    HTTP status codeError codeError message
    400Invalid request

    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.