MENU
      Creating Permission Set
        • PDF

        Creating Permission Set

        • PDF

        Article summary

        You can create a Permission Set.

        Requests

        • POST /permission-sets

        Request bodies

        {
          "permissionSetName":"String",
          "description":"String",
          "systemManagedPolicyIds" : [
            "String"
          ],
          "userCreatedPolicyNames" : [
            "String"
          ]
        }
        JSON
        ParametersRequiredTypeDescriptionRestrictions
        permissionSetNameYStringPermission set nameMust only include uppercase and lowercase English letters, numbers, hyphens (-) and underscores (_) and start with an English letter or a number (2-30 bytes)
        descriptionYStringPermission set description
        systemManagedPolicyIdsYArraySystem-managed policy IDs
        userCreatedPolicyNamesYArrayNames of user-defined policies

        Responses

        Response bodies

        {
          "id":"String",
          "nrn":"String",
          "success": "boolean"
        }
        JSON
        ParametersTypeDescriptionRestrictions
        idStringPermission Set ID
        nrnStringPermission Set nrn
        successooleanWhether it is a success
        messageStringError message indicating a failure

        Errors

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

        HTTP status codeError codeError message
        400400Invalid request
        4009070Permission Set with the same name already exists.
        4009071At least one policy must be selected.
        4009072System-managed policy 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.