code: public ServiceFuture<OperationStatus> updateAsync(UUID appId, UpdatePermissionsOptionalParameter updateOptionalParameter, final ServiceCallback<OperationStatus> serviceCallback) {
          return ServiceFuture.fromResponse(updateWithServiceResponseAsync(appId, updateOptionalParameter), serviceCallback);
      }
docs: Replaces the current users access list with the one sent in the body. If an empty list is sent, all access to other users will be removed.
  
  @param appId The application ID.
  @param updateOptionalParameter the object representing the optional parameters to be set before calling this API
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object