Instance Method

modifyRolePositions(with:then:)

Modifies role positions

Declaration

func modifyRolePositions(with options: [[String : Any]], then completion: (([Role]?, RequestError?) -> Void)? = nil)

Parameters

options

Preconfigured options to set role positions to

Options Params

Array of the following:

  • id: The role id to edit position

  • position: The sorting position of the role